LinearScaleEffectLayer.ScaleEndPos Property

Positions the current layer relative to the scale's ending point.

Namespace: DevExpress.XtraGauges.Core.Model

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

Declaration

public PointF2D ScaleEndPos { get; set; }
Public Property ScaleEndPos As PointF2D

Property Value

Type Description
DevExpress.XtraGauges.Core.Base.PointF2D

A PointF2D structure that specifies the position of the scale's ending point relative to the layer's left-top corner, in fractions.

Remarks

Changing the ScaleEndPos property transforms (shifts, rotates and zooms) the current layer relative to the scale's ending point (LinearScale.EndPoint).

The X and Y attributes of the ScaleEndPos object represent values in the range [0, 1], where 0 corresponds to the left/top edge, and 1 - to the right/bottom edge of the layer. If the ScaleEndPos property is set to (0.5, 0.5), the layer will be shifted so that the scale's ending point is positioned at the center of the layer. If the ScaleEndPos property is set to (0,0), the scale's ending point will be displayed at the left-top corner of the layer. If the ScaleEndPos property is set to (1,1), the scale's ending point will be displayed at the right-bottom corner of the layer. Note that when changing the ScaleEndPos property, the layer is actually transformed relative to the scale, to ensure that the scale's ending point is at the required position.

Implements

DevExpress.XtraGauges.Core.Model.ILinearScaleEffectLayer.ScaleEndPos
See Also