Creates a
ColorEx structure from the four 8-bit ARGB components (alpha, red, green, and blue) values.
'Declaration
Public Shared Function FromArgb( _
ByVal As System.Byte, _
ByVal As System.Byte, _
ByVal As System.Byte, _
ByVal As System.Byte _
) As ColorEx
public static ColorEx FromArgb(
System.byte ,
System.byte ,
System.byte ,
System.byte
)
Parameters
- a
- The alpha component. Valid values are 0 through 255.
- r
- The red component. Valid values are 0 through 255.
- g
- The green component. Valid values are 0 through 255.
- b
- The blue component. Valid values are 0 through 255.
Return Value
The
ColorEx that this method creates.
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