com.aspose.cells
Class ColorHelper

java.lang.Object
    extended by com.aspose.cells.ColorHelper

public class ColorHelper 
extends java.lang.Object

Provides helper functions about color.


Method Summary
static com.aspose.cells.ColorfromOleColor(int oleColor)
           Convert OLE_COLOR.
static inttoOleColor(com.aspose.cells.Color color, Workbook workbook)
           Convert color to OLE_COLOR
 

Method Detail

fromOleColor

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

toOleColor

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

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