[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IIcon.Index

Index Property

Index

Gets the zero-based index of this IIcon within its parent IIconSet.

The valid range is 0 through Parent.Count - 1. Parent[Index] returns the corresponding icon.

Declaration
int Index { get; }
ReadOnly Property Index As Integer
Examples
IIconSet iconSet = workbook.IconSets[IconSetType.Icon3TrafficLights1];
IIcon icon = iconSet[2];
int index = icon.Index;