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.

Constructor Summary
ColorHelper()
          
 
Method Summary
static ColorfromOleColor(int oleColor)
           Convert OLE_COLOR.
static inttoOleColor(Color color, Workbook workbook)
           Convert color to OLE_COLOR
 

Constructor Detail

ColorHelper

public ColorHelper()

Method Detail

fromOleColor

public static 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(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.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.