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