Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Core Namespace / SchemeColor Structure / CreateRgbColor Method
The RGB color components.


In This Topic
    CreateRgbColor Method
    In This Topic
    Creates the RGB color. The alpha color channel is set to 255.
    Syntax
    'Declaration
     
    
    Public Shared Function CreateRgbColor( _
       ByVal rgb As Integer _
    ) As SchemeColor
    'Usage
     
    
    Dim rgb As Integer
    Dim value As SchemeColor
     
    value = SchemeColor.CreateRgbColor(rgb)
    public static SchemeColor CreateRgbColor( 
       int rgb
    )

    Parameters

    rgb
    The RGB color components.

    Return Value

    A SchemeColor value represents the color
    See Also