Skip to main content

LinearScale.PointToPercent(PointF) Method

Converts the specified point along the scale to the corresponding percent value in relation to the LinearScale.StartPoint and LinearScale.EndPoint.

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v24.1.Core.dll

NuGet Package: DevExpress.Gauges.Core

Declaration

public float PointToPercent(
    PointF point
)

Parameters

Name Type Description
point PointF

A point along the scale between the LinearScale.StartPoint and LinearScale.EndPoint, in relative coordinates.

Returns

Type Description
Single

The percent value of the specified point in relation to the LinearScale.StartPoint and LinearScale.EndPoint.

Remarks

For information on the coordinate system, see Coordinate System.

See Also