Spread Windows Forms 12.0 Product Documentation
FromFormatColorEnum Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > Color Structure : FromFormatColorEnum Method
The format color enum.
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

Reference

Color Structure
Color Members