ColorHelper

ColorHelper class

Provides helper functions about color.

Methods

NameDescription
fromOleColorConvert OLE_COLOR.
toOleColorConvert color to OLE_COLOR

fromOleColor(oleColor)

Convert OLE_COLOR.

ParameterTypeDescription
oleColorintThe value of OLE_COLOR.

Returns: The com.aspose.cells.Color object.

toOleColor(color, workbook)

Convert color to OLE_COLOR

ParameterTypeDescription
colorColorThe com.aspose.cells.Color object.
workbookWorkbook

Returns: The value of OLE_COLOR