asposecells.api
Class ColorHelper

Provides helper functions about color.

Method Summary
static methodfromOleColor(oleColor)
           Convert OLE_COLOR.
static methodtoOleColor(color, workbook)
           Convert color to OLE_COLOR
 

Method Detail

fromOleColor

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

toOleColor

static int 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.