Axis.ValueToPixelPosition(Double) 方法

定义

将轴值转换为沿轴的绝对坐标。Converts an axis value to an absolute coordinate along an axis. 以像素度量。Measured in pixels. 此方法仅适用于绘制事件。This method only works in paint events.

public:
 double ValueToPixelPosition(double axisValue);
public double ValueToPixelPosition (double axisValue);
member this.ValueToPixelPosition : double -> double
Public Function ValueToPixelPosition (axisValue As Double) As Double

参数

axisValue
Double

轴值。The axis value.

返回

一个 double 值,该值表示像素位置。A double value that represents the pixel position.

适用于