Spread Windows Forms 17
FarPoint.Excel Assembly / FarPoint.Excel Namespace / ExcelXMLHelpers Class / GetColorByCT_Color Method / GetColorByCT_Color(CT_Color,CT_OfficeStyleSheet) Method
The drawing color object.
The themes.


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

    Parameters

    ctColor
    The drawing color object.
    themes
    The themes.

    Return Value

    Returns the color.
    See Also