Xceed Workbooks for .NET v1.4 Documentation
FromIndexedColor Method


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.
Returns the Color associated with a specific index in 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

Reference

ColorHelper Class
ColorHelper Members