Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGaugeDigitalScaleOptionsView.DigitCount Property

Specifies the maximum length (in characters) of the digital scale‘s value string display area.

#Declaration

Delphi
property DigitCount: Integer read; write; default dxGaugeDigitalScaleDefaultDigitCount;

#Property Value

Type Default
Integer dxGaugeDigitalScaleDefaultDigitCount

#Remarks

Use this property to limit the digital scale’s output by specifying the required number of simultaneously shown characters. The DigitCount property affects the scale’s default height-to-width ratio in conjunction with the currently selected visual style. If the length of the scale’s value string exceeds the DigitCount property value, the digital scale scrolls the string to the tailing character and truncates the “excessive” heading characters:

In order to remove the displayed string length limitation, set the DigitCount property to 0. In this case, the number of character display blocks (sections) is determined by the current length of the scale’s Value string:

Note

The list of characters which can be displayed by a digital scale is determined by the DisplayMode property value. Unsupported characters are ignored.

The default value of the DigitCount property is dxGaugeDigitalScaleDefaultDigitCount.

See Also