Axis.GetPosition(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts an axis value to a relative position (0-100%). If an axis is logarithmic, the value is converted to a linear scale.
public:
double GetPosition(double axisValue);
public double GetPosition (double axisValue);
member this.GetPosition : double -> double
Public Function GetPosition (axisValue As Double) As Double
Parameters
- axisValue
- Double
The axis value to be converted.
Returns
A double
value that represents the relative position (0-100%).
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.