Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Core Namespace / SchemeColor Structure / CreatePresetColor Method
The preset color index.


In This Topic
    CreatePresetColor Method
    In This Topic
    Creates the preset color.
    Syntax
    'Declaration
     
    
    Public Shared Function CreatePresetColor( _
       ByVal colorIndex As Short _
    ) As SchemeColor
    'Usage
     
    
    Dim colorIndex As Short
    Dim value As SchemeColor
     
    value = SchemeColor.CreatePresetColor(colorIndex)
    public static SchemeColor CreatePresetColor( 
       short colorIndex
    )

    Parameters

    colorIndex
    The preset color index.

    Return Value

    A SchemeColor value represents the color
    See Also