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);

Parameters

axisValue
Double

The axis value to be converted.

Returns

A double value that represents the pixel position.

Applies to

Produto Versões
.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