Axis.PositionToValue(Double) 方法
定义
将沿轴的相对坐标转换为轴值。Converts a relative coordinate along an axis to an axis value. 此方法仅适用于绘制事件。This method only works in paint events.
public:
double PositionToValue(double position);
public double PositionToValue (double position);
member this.PositionToValue : double -> double
Public Function PositionToValue (position As Double) As Double
参数
- position
- Double
要转换的相对位置 (0-100%)。The relative position (0-100%) to be converted.
返回
一个表示轴值的 double 值。A double value that represents the axis value.