Edit

Share via


Axis.PositionToValue(Double) Method

Definition

Converts a relative coordinate along an axis to an axis value. This method only works in paint events.

C#
public double PositionToValue(double position);

Parameters

position
Double

The relative position (0-100%) to be converted.

Returns

A double value that represents the axis value.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1