Spread Silverlight Documentation
FromArgb(Int32,Int32,Int32) Method


The red component value for the new GrapeCity.Excel.GcColor Valid values are 0 through 255
The green component value for the new GrapeCity.Excel.GcColor Valid values are 0 through 255
The blue component value for the new GrapeCity.Excel.GcColor Valid values are 0 through 255
Create a GrapeCity.Excel.GcColor structure from the specified 8-bit color values (red,green and blue) The alpha value is implicitly 255 (fully opaque).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.
Syntax
'Declaration
 
Public Overloads Shared Function FromArgb( _
   ByVal red As System.Integer, _
   ByVal green As System.Integer, _
   ByVal blue As System.Integer _
) As GcColor
'Usage
 
Dim red As System.Integer
Dim green As System.Integer
Dim blue As System.Integer
Dim value As GcColor
 
value = GcColor.FromArgb(red, green, blue)
public static GcColor FromArgb( 
   System.int red,
   System.int green,
   System.int blue
)

Parameters

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.
Requirements

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

See Also

Reference

GcColor Structure
GcColor Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.