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

dxDefaultFontSizes Constant

Specifies an array of predefined font sizes for end-user commands and font-related UI elements that document-related DevExpress controls provide.

#Declaration

Delphi
const dxDefaultFontSizes: array[0..dxDefaultFontSizeCount - 1] of Integer = (8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 36, 48, 72);

#Returns

Type
array[0..dxDefaultFontSizeCount - 1] of Integer

#Remarks

This array stores a series of default font sizes (in typographic points). Individual array values are identical to font sizes found in end-user commands and dialogs that many popular Office applications provide.

Document-related DevExpress controls, font size settings in their customization dialogs, and font size customization end-user commands use the stored values in internal routines. Font size increment and decrement routine implementations navigate this array by one position in the corresponding direction to determine the next target size for an affected font. The automatic Ribbon/Toolbar UI generator uses the dxDefaultFontSizes global constant values to populate font size combo boxes linked to an end-user font size change command.

Note

The dxDefaultFontSizeCount global constant defines the number of font size values in the array.

See Also