ColorHelper
ColorHelper class
Provides helper functions about color.
Methods
| Name | Description |
|---|---|
| fromOleColor | Convert OLE_COLOR. |
| toOleColor | Convert color to OLE_COLOR |
fromOleColor(oleColor)
Convert OLE_COLOR.
| Parameter | Type | Description |
|---|---|---|
| oleColor | int | The value of OLE_COLOR. |
Returns: The com.aspose.cells.Color object.
toOleColor(color, workbook)
Convert color to OLE_COLOR
| Parameter | Type | Description |
|---|---|---|
| color | Color | The com.aspose.cells.Color object. |
| workbook | Workbook |
Returns: The value of OLE_COLOR