ActiveReports Developer 7
FromArgb Method
See Also 
GrapeCity.ActiveReports.Extensibility.v7 Assembly > GrapeCity.ActiveReports.Extensibility.Drawing Namespace > ColorEx Structure : FromArgb Method

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.

Glossary Item Box

Creates a ColorEx structure from the four 8-bit ARGB components (alpha, red, green, and blue) values.

Syntax

Visual Basic (Declaration) 
Public Shared Function FromArgb( _
   ByVal a As System.Byte, _
   ByVal r As System.Byte, _
   ByVal g As System.Byte, _
   ByVal b As System.Byte _
) As ColorEx
C# 
public static ColorEx FromArgb( 
   System.byte a,
   System.byte r,
   System.byte g,
   System.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