Axis.PixelPositionToValue(Double) Method

Definition

Converts an absolute pixel position along an axis to an axis value. This method only works in paint events.

public double PixelPositionToValue(double position);

Parameters

position
Double

The pixel position to be converted.

Returns

A double value that represents the axis value.

Applies to

Produkt Wersje
.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