Skip to main content

TdxSpreadSheetConditionalFormattingIconSetPreset Class

An icon preset that an “Icon Set“ conditional formatting rule uses to mark specific cells within the affected area(s).

Declaration

TdxSpreadSheetConditionalFormattingIconSetPreset = class(
    TObject
)

Remarks

An icon preset is an unchangeable set of icons from the predefined image list accessible via the global conditional formatting icon storage‘s Icons property. Each icon within the preset corresponds to a specific threshold of an “Icon Set” conditional formatting rule.

The TdxSpreadSheetConditionalFormattingIconSetPreset class provides the following members that allow you to:

  • Obtain the identifier and description of the icon preset (Name and Description);

  • Identify the number of icons within the preset (IconIndexCount);

  • Obtain global indexes of individual icons within the preset (IconIndexes).

  • Search a specific icon within the preset by its index in the global list (IndexOf).

The icon preset collection‘s Items property references a TdxSpreadSheetConditionalFormattingIconSetPreset object. To create a new custom icon preset, call the collection’s Add function.

Inheritance

TObject
TdxSpreadSheetConditionalFormattingIconSetPreset
See Also