com.aspose.cells

Class ColorHelper

  • java.lang.Object
    • 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