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


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > ColorHelper Class > ToArgb Method : ToArgb(Color) Method
The Color to convert.
Converts a Color into an int.
Syntax
'Declaration

 

Public Overloads Shared Function ToArgb( _

   ByVal color As Color _

) As Integer
'Usage

 

Dim color As Color

Dim value As Integer

 

value = ColorHelper.ToArgb(color)
public static int ToArgb( 

   Color color

)

Parameters

color
The Color to convert.

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