[]
Represents a single icon in an icon set used in a conditional formatting rule.
An IIcon identifies one icon contained in an IIconSet. Use this interface to work with a specific icon in a built-in icon set, such as retrieving its position with Index or accessing its parent icon set with Parent.
public interface IIcon
Public Interface IIcon
IIconSet iconSet = workbook.IconSets[IconSetType.Icon3TrafficLights1];
IIcon icon = iconSet[2];
int index = icon.Index;
IIconSet parent = icon.Parent;
| Name | Description |
|---|---|
| Index | Gets the zero-based index of this IIcon within its parent IIconSet.
The valid range is |
| Parent | Gets the parent IIconSet. This property returns the parent IIconSet that contains this icon in an icon set used by a conditional formatting rule. |