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

TdxFontOptions.Pitch Property

Specifies if all characters in the current font have the same width.

#Declaration

Delphi
property Pitch: TdxFontPitch read; write;

#Property Value

Type Default Description
TdxFontPitch Default

The current font pitch.

#Remarks

Every font typeface has an associated pitch. All characters in fixed-pitch fonts have the same width. Characters in variable-pitch fonts have different widths. Fixed-pitch fonts are usually used to display source code while variable-pitch fonts make text appearance more natural.

Refer to the TdxFontPitch type description for information on available options.

Note

If you set the Pitch property to TdxFontPitch.Variable or TdxFontPitch.Fixed for a fixed-pitch or variable-pitch font, respectively, the operating system selects a font whose glyphs match all specified font settings best. In the majority of cases, Pitch property value changes have no visual effect.

#Default Value

The Pitch property’s default value is TdxFontPitch.Default. The default value indicates that the operating system displays the current font as is.

See Also