IconSet

IconSet class

Describe the IconSet conditional formatting rule. This conditional formatting rule applies icons to cells according to their values.

Properties

NameTypeDescription
CfIconsConditionalFormattingIconCollectionGet the ConditionalFormattingIcon from the collection
CfvosConditionalFormattingValueCollectionGet the CFValueObjects instance.
TypeNumberGet or Set the icon set type to display. Setting the type will auto check if the current Cfvos’s count is accord with th
IsCustombooleanIndicates whether the icon set is custom. Default value is false.
ShowValuebooleanGet or set the flag indicating whether to show the values of the cells on which this icon set is applied. Default value
ReversebooleanGet or set the flag indicating whether to reverses the default order of the icons in this icon set. Default value is fal

IconSet.CfIcons property

Get the ConditionalFormattingIcon from the collection

Type: ConditionalFormattingIconCollection

IconSet.Cfvos property

Get the CFValueObjects instance.

Type: ConditionalFormattingValueCollection

IconSet.Type property

Get or Set the icon set type to display. Setting the type will auto check if the current Cfvos’s count is accord with the new type. If not accord, old Cfvos will be cleaned and default Cfvos will be added. The value of the property is IconSetType integer constant.

Type: Number

IconSet.IsCustom property

Indicates whether the icon set is custom. Default value is false.

Type: boolean

IconSet.ShowValue property

Get or set the flag indicating whether to show the values of the cells on which this icon set is applied. Default value is true.

Type: boolean

IconSet.Reverse property

Get or set the flag indicating whether to reverses the default order of the icons in this icon set. Default value is false.

Type: boolean