aspose.cells
Class ColorHelper

Provides helper functions about color.

Method Summary
static functionfromOleColor(oleColor)
           Convert OLE_COLOR.
static functiontoOleColor(color, workbook)
           Convert color to OLE_COLOR
 

Method Detail

fromOleColor

static function fromOleColor(oleColor)
Convert OLE_COLOR.
Parameters:
oleColor: Number - The value of OLE_COLOR.
Returns:
The com.aspose.cells.Color object.

toOleColor

static function toOleColor(color, workbook)
Convert color to OLE_COLOR
Parameters:
color: Color - The com.aspose.cells.Color object.
workbook: Workbook -
Returns:
The value of OLE_COLOR

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.