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


In This Topic
    GetColorByCT_Color(CT_Color) 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 _
    ) As Color
    'Usage
     
    
    Dim ctColor As CT_Color
    Dim value As Color
     
    value = ExcelXMLHelpers.GetColorByCT_Color(ctColor)
    public static Color GetColorByCT_Color( 
       CT_Color ctColor
    )

    Parameters

    ctColor
    The drawing color object.

    Return Value

    Returns the color.
    See Also