ConditionalFormattingIcon
Contents
[
Hide
]ConditionalFormattingIcon class
Represents the custom icon of conditional formatting rule.
class ConditionalFormattingIcon;
Properties
Property | Type | Description |
---|---|---|
imageData | Uint8Array | Readonly. Gets the icon set data. |
type | IconSetType | Gets and sets the icon set type. |
index | number | Gets and sets the icon’s index in the icon set. |
Methods
Method | Description |
---|---|
getImageData(Cell) | Gets the image data with the setting of cell. |
static getIconImageData(IconSetType, number) | Get the icon set data |
imageData
Readonly. Gets the icon set data.
imageData : Uint8Array;
type
Gets and sets the icon set type.
type : IconSetType;
index
Gets and sets the icon’s index in the icon set.
index : number;
getImageData(Cell)
Gets the image data with the setting of cell.
getImageData(cell: Cell) : Uint8Array;
Parameters:
Parameter | Type | Description |
---|---|---|
cell | Cell | The setting of cell. |
Returns
Returns the image data of icon.
getIconImageData(IconSetType, number)
Get the icon set data
static getIconImageData(type: IconSetType, index: number) : Uint8Array;
Parameters:
Parameter | Type | Description |
---|---|---|
type | IconSetType | icon’s type |
index | number | icon’s index |