Skip to main content

TdxSpreadSheetCustomFont Class

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

Declaration

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