Create a GrapeCity.Excel.GcColor structure from the specified 8-bit color values (red,green and blue) Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.
'Declaration
Public Overloads Shared Function FromArgb( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer _
) As GcColor
'Usage
Dim alpha As System.Integer
Dim red As System.Integer
Dim green As System.Integer
Dim blue As System.Integer
Dim value As GcColor
value = GcColor.FromArgb(alpha, red, green, blue)
public static GcColor FromArgb(
System.int ,
System.int ,
System.int ,
System.int
)
Parameters
- alpha
- The alpha component value for the new GrapeCity.Excel.GcColor Valid values are 0 through 255
- red
- The red component value for the new GrapeCity.Excel.GcColor Valid values are 0 through 255
- green
- The green component value for the new GrapeCity.Excel.GcColor Valid values are 0 through 255
- blue
- The blue component value for the new GrapeCity.Excel.GcColor Valid values are 0 through 255
Return Value
The GrapeCity.Excel.GcColor that this method creates.
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6