[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IIconSet.Item

this Property

this[int]

Gets the icon at the specified index.

Icons are ordered from the lowest-value icon at index 0 to the highest-value icon at index Count - 1.

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

The zero-based index of the icon. The valid range is 0 through Count - 1. An index outside this range is invalid and can cause an IndexOutOfRangeException when the icon is used.

Examples
IIconSet iconSet = workbook.IconSets[IconSetType.Icon3TrafficLights1];
IIcon greenLight = iconSet[2];