Xceed Workbooks for .NET v1.4 Documentation
ToArgb(Int32,Int32,Int32) Method


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > ColorHelper Class > ToArgb Method : ToArgb(Int32,Int32,Int32) Method
The int that represents the red part of the Color.
The int that represents the green part of the Color.
The int that represents the blue part of the Color.
Converts 3 int values into an int.
Syntax
'Declaration

 

Public Overloads Shared Function ToArgb( _

   ByVal r As Integer, _

   ByVal g As Integer, _

   ByVal b As Integer _

) As Integer
'Usage

 

Dim r As Integer

Dim g As Integer

Dim b As Integer

Dim value As Integer

 

value = ColorHelper.ToArgb(r, g, b)
public static int ToArgb( 

   int r,

   int g,

   int b

)

Parameters

r
The int that represents the red part of the Color.
g
The int that represents the green part of the Color.
b
The int that represents the blue part of the Color.

Return Value

The int that represents the converted Color.
Requirements

Target Platforms: Windows 11, Windows 10, 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

ColorHelper Class
ColorHelper Members
Overload List