Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / ColorHelper Class / ToColor Method / ToColor(Int32) Method
The int that represents the ARGB color.


In This Topic
    ToColor(Int32) Method
    In This Topic
    Converts an int color into a Color.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function ToColor( _
       ByVal argb As Integer _
    ) As Color
    'Usage
     
    
    Dim argb As Integer
    Dim value As Color
     
    value = ColorHelper.ToColor(argb)
    public static Color ToColor( 
       int argb
    )

    Parameters

    argb
    The int that represents the ARGB color.

    Return Value

    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