SpreadsheetGear 2017
FromArgb(Int32,Int32,Int32,Int32) Method






SpreadsheetGear.Drawing Namespace > Color Structure > FromArgb Method : FromArgb(Int32,Int32,Int32,Int32) Method
Syntax
'Declaration
 
Public Overloads Shared Function FromArgb( _
   ByVal alpha As System.Integer, _
   ByVal red As System.Integer, _
   ByVal green As System.Integer, _
   ByVal blue As System.Integer _
) As Color
'Usage
 
Dim alpha As System.Integer
Dim red As System.Integer
Dim green As System.Integer
Dim blue As System.Integer
Dim value As Color
 
value = Color.FromArgb(alpha, red, green, blue)
public static Color FromArgb( 
   System.int alpha,
   System.int red,
   System.int green,
   System.int blue
)
public function FromArgb( 
    alpha: System.Integer;
    red: System.Integer;
    green: System.Integer;
    blue: System.Integer
): Color; static; 
public static function FromArgb( 
   alpha : System.int,
   red : System.int,
   green : System.int,
   blue : System.int
) : Color;
public: static Color FromArgb( 
   System.int alpha,
   System.int red,
   System.int green,
   System.int blue
) 
public:
static Color FromArgb( 
   System.int alpha,
   System.int red,
   System.int green,
   System.int blue
) 

Parameters

alpha
red
green
blue
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Color Structure
Color Members
Overload List