Skip to main content

TdxGaugeScaleOptionsCustomLayout.Height Property

Specifies the absolute height (in pixels) of the scale‘s bounding box.

Declaration

property Height: Integer read; write; default 0;

Property Value

Type Default
Integer 0

Remarks

The Height and Width properties are used collectively to specify the absolute dimensions (in pixels) of bounding boxes that determine the actual size of all scales. The Height property specifies the maximum absolute height of the scale regardless of its current visual style. The actual area occupied by a scale does not necessarily match the size of its bounding box, since the selected style determines the scale’s height-to-width ratio. If the Stretch property is set to True, the actual scale area is stretched to the specified Height and Width values.

The Height property value can be greater than the absolute height of the scale’s parent object. In this case, the bounding box (and, if the Stretch property is set to True, the scale as well) does not fit in the parent object’s area:

Note

To specify the relative dimensions of the scale bounding box, use the HeightFactor and WidthFactor properties instead. Additionally, you can simultaneously specify both absolute and relative dimensions for the scale boundaries by using the Height and WidthFactor or HeightFactor and Width combinations of properties.

The default value of the Height property is 0.

See Also