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

TdxSpreadSheetCustomFont Class

The base class all classes that implement the font settings used in the Spreadsheet and Report Designer controls.

#Declaration

Delphi
TdxSpreadSheetCustomFont = class(
    TObject
)

#Remarks

This class implements the functionality required by the TdxSpreadSheetFont and TdxSpreadSheetCellFont classes.

The TdxSpreadSheetCustomFont class extends its ancestor with the following members that allow you to:

  • Set the font typeface (Name);

  • Select the required charset for the font (Charset);

  • Assign the font color (Color);

  • Set the font size (Height and Size);

  • Apply/remove the Bold, Italic, Underline, and/or Strikeout characteristics to/from the font (Style);

  • Select between the fixed and variable font pitch (Pitch);

  • Obtain the font settings sample in order to use it elsewhere (AssignToFont).

The TdxSpreadSheetCustomFont object is not referenced directly by any property in the Spreadsheet or Report Designer control. Use the TdxSpreadSheetFont (in comment containers) and TdxSpreadSheetCellFont (in the case of displayed cell values) classes.

#Inheritance

TObject
TdxSpreadSheetCustomFont
See Also