ConditionalFormattingIcon
Contents
[
Hide
]ConditionalFormattingIcon class
Represents the custom icon of conditional formatting rule.
Properties
| Name | Type | Description |
|---|---|---|
| ImageData | byte[] | Gets the icon set data. |
| Type | int | Gets and sets the icon set type. The value of the property is IconSetType integer constant. |
| Index | int | Gets and sets the icon’s index in the icon set. |
Methods
| Name | Description |
|---|---|
| getIconImageData | Get the icon set data |
| getImageData | Gets the image data with the setting of cell. |
ConditionalFormattingIcon.ImageData property
Gets the icon set data.
Type: byte[]
ConditionalFormattingIcon.Type property
Gets and sets the icon set type. The value of the property is IconSetType integer constant.
Type: int
ConditionalFormattingIcon.Index property
Gets and sets the icon’s index in the icon set.
Type: int
getIconImageData(type, index)
Get the icon set data
| Parameter | Type | Description |
|---|---|---|
| type | int | A IconSetType value. icon’s type |
| index | int | icon’s index |
getImageData(cell)
Gets the image data with the setting of cell.
| Parameter | Type | Description |
|---|---|---|
| cell | Cell | The setting of cell. |
Returns: Returns the image data of icon.