ActiveReports 8
FromArgb Method
See Also 
GrapeCity.ActiveReports.Extensibility.v8 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.

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