Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Color Structure / FromArgb Method / FromArgb(Int32) Method
The ARGB components.


In This Topic
    FromArgb(Int32) Method
    In This Topic
    Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromArgb( _
       ByVal argb As Integer _
    ) As Color
    'Usage
     
    
    Dim argb As Integer
    Dim value As Color
     
    value = Color.FromArgb(argb)
    public static Color FromArgb( 
       int argb
    )

    Parameters

    argb
    The ARGB components.

    Return Value

    The Color value that this method creates.
    See Also