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