[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IIconSets.Item

this Property

this[IconSetType]

Gets the icon set with the specified type from the collection.

Use this indexer to retrieve a predefined IIconSet and apply it to an icon set conditional formatting rule through IconSet.

Declaration
IIconSet this[IconSetType Index] { get; }
ReadOnly Default Property Item(Index As IconSetType) As IIconSet
Parameters
Type Name Description
IconSetType Index

The IconSetType that specifies which icon set to retrieve.

Examples
IIconSetCondition condition = worksheet.Range["A1:A5"].FormatConditions.AddIconSetCondition();
IIconSet iconSet = workbook.IconSets[IconSetType.Icon3Symbols];
condition.IconSet = iconSet;