Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / ColorHelper Class / FromIndexedColor Method

The index associated with a specific color.

This should be a number between 0 and 63.



In This Topic
    FromIndexedColor Method
    In This Topic
    Returns the color associated with a specific index of the indexed color palette.
    Syntax
    'Declaration
     
    
    Public Shared Function FromIndexedColor( _
       ByVal indexedColor As Integer _
    ) As Color
    'Usage
     
    
    Dim indexedColor As Integer
    Dim value As Color
     
    value = ColorHelper.FromIndexedColor(indexedColor)
    public static Color FromIndexedColor( 
       int indexedColor
    )

    Parameters

    indexedColor

    The index associated with a specific color.

    This should be a number between 0 and 63.

    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