Back to Devexpress

ArcScale.PointToPercent(PointF) Method

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

latest1.8 KB
Original Source

ArcScale.PointToPercent(PointF) Method

Converts a point to a percent value.

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, in relative coordinates.

|

Returns

TypeDescription
Single

The percent value of the specified point. If the point belongs to the radius specified by the ArcScale.StartAngle, the percent value of 0 is returned. If the point belongs to the radius specified by the ArcScale.EndAngle, the percent value of 100 is returned.

|

Remarks

For information on the coordinate system, see Coordinate System.

See Also

ArcScale Class

ArcScale Members

DevExpress.XtraGauges.Core.Model Namespace