class
ColorHelper
Source: aspose.
Provides helper functions about color.
Methods
static
fromOleColor(oleColor) → Color
Convert OLE_COLOR.
Parameter
| Name | Type | Optional | Description |
|---|---|---|---|
|
oleColor |
Number |
|
The value of OLE_COLOR. |
- Returns
-
ColorThe com.aspose.cells.Color object.
static
toOleColor(color, workbook) → Number
Convert color to OLE_COLOR
Parameters
| Name | Type | Optional | Description |
|---|---|---|---|
|
color |
|
The |
|
|
workbook |
|
- Returns
-
NumberThe value of OLE_COLOR