Skip to main content

TdxSpreadSheetConditionalFormattingIconSetPreset.IndexOf(Integer) Method

Searches the specified global icon index within the preset.

Declaration

function IndexOf(IconIndex: Integer): Integer;

Parameters

Name Type
IconIndex Integer

Returns

Type
Integer

Remarks

Call this function to obtain the index (that is, the position within the preset) of an icon whose index within the global conditional formatting icon list is passed as the IconIndex parameter. The IndexOf function returns -1 if there is no such icon within the preset.

See Also