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.v19.2.Core.dll

Declaration

public float PointToPercent(
    PointF point
)
Public Function PointToPercent(
    point As PointF
) As Single

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.

Implements

DevExpress.XtraGauges.Core.Model.IConvertibleScaleEx.PointToPercent(PointF)
See Also