ActiveReports 9
FromArgb Method (ColorEx)

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 System.Byte, _
   ByVal r As System.Byte, _
   ByVal g As System.Byte, _
   ByVal b As System.Byte _
) As ColorEx
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

Reference

ColorEx Structure
ColorEx Members

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum