class
ConditionalFormattingIcon
Source: aspose.
Represents the custom icon of conditional formatting rule.
Methods
getImageData()
Gets the icon set data.
getImageData(cell) → Array of byte
Gets the image data with the setting of cell.
Parameter
| Name | Type | Optional | Description |
|---|---|---|---|
|
cell |
|
The setting of cell. |
- Returns
-
Array of byteReturns 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.
static
getIconImageData(type, index) → Array of byte
Get the icon set data
Parameters
| Name | Type | Optional | Description |
|---|---|---|---|
|
type |
Number |
|
IconSetType |
|
index |
Number |
|
icon's index |
- Returns
-
Array of byte