Back to Devexpress

LinearScale.EndPoint Property

corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-linearscale-d301769e.md

latest2.6 KB
Original Source

LinearScale.EndPoint Property

Gets or sets the ending point of the scale.

Namespace : DevExpress.XtraGauges.Core.Model

Assembly : DevExpress.XtraGauges.v25.2.Core.dll

NuGet Package : DevExpress.Gauges.Core

Declaration

csharp
public PointF2D EndPoint { get; set; }
vb
Public Property EndPoint As PointF2D

Property Value

TypeDescription
DevExpress.XtraGauges.Core.Base.PointF2D

An integer value that specifies the ending point of the scale, in relative coordinates.

|

Remarks

For information on the coordinate system, see Coordinate System.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EndPoint property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-linear-gauge-custom-aspect-ratio/CS/WindowsFormsApplication1/Form1.cs#L40

csharp
gauge.Scales[0].StartPoint = new PointF2D(62.5f, 125f * (1f + proportion));
    gauge.Scales[0].EndPoint = new PointF2D(62.5f, 125f * (1f - proportion));
}

winforms-linear-gauge-custom-aspect-ratio/VB/WindowsFormsApplication1/Form1.vb#L33

vb
gauge.Scales(0).StartPoint = New PointF2D(62.5F, 125F * (1F + proportion))
    gauge.Scales(0).EndPoint = New PointF2D(62.5F, 125F * (1F - proportion))
End Sub

See Also

LinearScale Class

LinearScale Members

DevExpress.XtraGauges.Core.Model Namespace