ConditionalFormattingIcon
Contents
[
Hide
]ConditionalFormattingIcon class
Represents the custom icon of conditional formatting rule.
class ConditionalFormattingIcon;
Methods
Method | Description |
---|---|
getImageData() | Gets the icon set data. |
getType() | Gets and sets the icon set type. |
setType(IconSetType) | Gets and sets the icon set type. |
getIndex() | Gets and sets the icon’s index in the icon set. |
setIndex(number) | Gets and sets the icon’s index in the icon set. |
getImageData(Cell) | Gets the image data with the setting of cell. |
isNull() | Checks whether the implementation object is null. |
static getIconImageData(IconSetType, number) | Get the icon set data |
getImageData()
Gets the icon set data.
getImageData() : number[];
Returns
number[]
getType()
Gets and sets the icon set type.
getType() : IconSetType;
Returns
setType(IconSetType)
Gets and sets the icon set type.
setType(value: IconSetType) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | IconSetType | The value to set. |
getIndex()
Gets and sets the icon’s index in the icon set.
getIndex() : number;
setIndex(number)
Gets and sets the icon’s index in the icon set.
setIndex(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getImageData(Cell)
Gets the image data with the setting of cell.
getImageData(cell: Cell) : number[];
Parameters:
Parameter | Type | Description |
---|---|---|
cell | Cell | The setting of cell. |
Returns
Returns the image data of icon.
isNull()
Checks whether the implementation object is null.
isNull() : boolean;
getIconImageData(IconSetType, number)
Get the icon set data
static getIconImageData(type: IconSetType, index: number) : number[];
Parameters:
Parameter | Type | Description |
---|---|---|
type | IconSetType | icon’s type |
index | number | icon’s index |
Returns
number[]