Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Color Structure / FromFormatColorEnum Method
The format color enum.


In This Topic
    FromFormatColorEnum Method
    In This Topic
    Creates a Color structure from the specified format color enum.
    Syntax
    'Declaration
     
    
    Public Shared Function FromFormatColorEnum( _
       ByVal color As FormatColorEnum _
    ) As Color
    'Usage
     
    
    Dim color As FormatColorEnum
    Dim value As Color
     
    value = Color.FromFormatColorEnum(color)
    public static Color FromFormatColorEnum( 
       FormatColorEnum color
    )

    Parameters

    color
    The format color enum.

    Return Value

    The Color value that this method creates.
    See Also