ActiveReports 10
FromArgb Method (ColorEx)

GrapeCity.ActiveReports.Extensibility.v10 Assembly > GrapeCity.ActiveReports.Extensibility.Drawing Namespace > ColorEx Structure : FromArgb Method
The alpha component. Valid values are 0 through 255.
The red component. Valid values are 0 through 255.
The green component. Valid values are 0 through 255.
The blue component. Valid values are 0 through 255.
Creates a ColorEx structure from the four 8-bit ARGB components (alpha, red, green, and blue) values.
Syntax
'Declaration
 
Public Shared Function FromArgb( _
   ByVal a As Byte, _
   ByVal r As Byte, _
   ByVal g As Byte, _
   ByVal b As Byte _
) As ColorEx
public static ColorEx FromArgb( 
   byte a,
   byte r,
   byte g,
   byte b
)

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.
See Also

Reference

ColorEx Structure
ColorEx Members