corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-linearscale-79fad34a.md
Gets or sets the starting point of the scale.
Namespace : DevExpress.XtraGauges.Core.Model
Assembly : DevExpress.XtraGauges.v25.2.Core.dll
NuGet Package : DevExpress.Gauges.Core
public PointF2D StartPoint { get; set; }
Public Property StartPoint As PointF2D
| Type | Description |
|---|---|
| DevExpress.XtraGauges.Core.Base.PointF2D |
An integer value that specifies the starting point of the scale, in relative coordinates.
|
For information on the coordinate system, see Coordinate System.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the StartPoint 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#L39
gauge.Bounds = new Rectangle((int)indentX, (int)(indentY + (targetArea.Height - targetArea.Width / 2f / proportion) / 2f), (int)targetArea.Width, (int)(targetArea.Width / 2f / proportion));
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#L32
gauge.Bounds = New Rectangle(CInt(indentX), CInt(indentY + (targetArea.Height - targetArea.Width / 2F / proportion) / 2F), CInt(targetArea.Width), CInt(targetArea.Width / 2F / proportion))
gauge.Scales(0).StartPoint = New PointF2D(62.5F, 125F * (1F + proportion))
gauge.Scales(0).EndPoint = New PointF2D(62.5F, 125F * (1F - proportion))
See Also