Back to Devexpress

TdxGaugeScalePositionType Enum

vcl-dxgaugecustomscale-69c59b92.md

latest2.0 KB
Original Source

TdxGaugeScalePositionType Enum

Enumerates the available methods of scale positioning within the parent object.

Declaration

delphi
TdxGaugeScalePositionType = (
    sptFactor,
    sptPixels
);

Members

Name
sptFactor
sptPixels

Remarks

Options include:

|

Value

|

Meaning

| | --- | --- | |

sptFactor

|

Enables relative scale positioning within the Gauge Control. The scale’s OptionsLayout.CenterPositionFactorX and OptionsLayout.CenterPositionFactorY property values are used to calculate the scale’s position within the parent object‘s area.

| |

sptPixels

|

Enables absolute scale positioning within the Gauge Control. The OptionsLayout.CenterPositionX and OptionsLayout.CenterPositionY property values specify the absolute distance (in pixels) between the left and top borders of the parent object ‘s area and the scale’s center, respectively.

|

This type is referenced by the scale’s OptionsLayout.CenterPositionType property.

See Also

dxGaugeCustomScale Unit