Axis.ValueToPixelPosition(Double) Method

Definition

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

Parameters

axisValue
Double

The axis value to be converted.

Returns

A double value that represents the pixel position.

Applies to