Spread Windows Forms 15.0
FarPoint.Excel Assembly / FarPoint.Excel Namespace / ExcelXMLHelpers Class / GetColorByDrawingColor Method
The underlying drawing color object.
The themes.


In This Topic
    GetColorByDrawingColor Method
    In This Topic
    Gets the color from open xml drawing color object.
    Syntax
    'Declaration
     
    
    Public Shared Function GetColorByDrawingColor( _
       ByVal drawingColor As Object, _
       ByVal themes As CT_OfficeStyleSheet _
    ) As Color
    'Usage
     
    
    Dim drawingColor As Object
    Dim themes As CT_OfficeStyleSheet
    Dim value As Color
     
    value = ExcelXMLHelpers.GetColorByDrawingColor(drawingColor, themes)
    public static Color GetColorByDrawingColor( 
       object drawingColor,
       CT_OfficeStyleSheet themes
    )

    Parameters

    drawingColor
    The underlying drawing color object.
    themes
    The themes.

    Return Value

    Returns the color.
    See Also