Back to Devexpress

LinearScale.PointToPercent(PointF) Method

corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-linearscale-dot-pointtopercent-x28-system-dot-drawing-dot-pointf-x29.md

latest2.2 KB
Original Source

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

NuGet Package : DevExpress.Gauges.Core

Declaration

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

Parameters

NameTypeDescription
pointPointF

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

|

Returns

TypeDescription
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

LinearScale Class

LinearScale Members

DevExpress.XtraGauges.Core.Model Namespace