ComponentOne FinancialChart for WPF
C1.WPF Namespace / ColorEx Class / GetARGB Method
The color.
The alpha channel.
The red component.
The green component.
The blue component.



In This Topic
    GetARGB Method
    In This Topic
    Gets the ARGB components of a color.
    Syntax
    'Declaration
     
    
    Public Shared Sub GetARGB( _
       ByVal color As Brush, _
       ByRef a As Byte, _
       ByRef r As Byte, _
       ByRef g As Byte, _
       ByRef b As Byte _
    ) 
    'Usage
     
    
    Dim color As Brush
    Dim a As Byte
    Dim r As Byte
    Dim g As Byte
    Dim b As Byte
     
    ColorEx.GetARGB(color, a, r, g, b)
    public static void GetARGB( 
       Brush color,
       out byte a,
       out byte r,
       out byte g,
       out byte b
    )
    public:
    static void GetARGB( 
       Brush^ color,
       [Out] byte a,
       [Out] byte r,
       [Out] byte g,
       [Out] byte b
    ) 

    Parameters

    color
    The color.
    a
    The alpha channel.
    r
    The red component.
    g
    The green component.
    b
    The blue component.
    See Also