
## ConditionalFormattingIcon class

Represents the custom icon of conditional formatting rule.

## Methods

| Name | Description |
| --- | --- |
| [getImageData()](#getimagedata) | Gets the icon set data. |
| [getImageData(cell)](#getimagedata-1) | Gets the image data with the setting of cell. |
| [getIndex()](#getindex) | Gets and sets the icon's index in the icon set. |
| [getType()](#gettype) | Gets and sets the icon set type. The value of the property is IconSetType integer constant. |
| [setIndex()](#setindex) | Gets and sets the icon's index in the icon set. |
| [setType()](#settype) | Gets and sets the icon set type. The value of the property is IconSetType integer constant. |
| [getIconImageData(type, index)](#geticonimagedata) *(static)* | Get the icon set data |

### getImageData() {#getimagedata}

Gets the icon set data.

### getImageData(cell) {#getimagedata-1}

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() {#getindex}

Gets and sets the icon's index in the icon set.

### getType() {#gettype}

Gets and sets the icon set type. The value of the property is IconSetType integer constant.

### setIndex() {#setindex}

Gets and sets the icon's index in the icon set.

### setType() {#settype}

Gets and sets the icon set type. The value of the property is IconSetType integer constant.

### getIconImageData(type, index) (static) {#geticonimagedata}

Get the icon set data

| Parameter | Type | Description |
| --- | --- | --- |
| type | Number | IconSetType |
| index | Number | icon's index |

**Returns:** Array of byte — `Array of byte`
