Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / ExcelColorElement Class / ExcelColorElement Constructor / ExcelColorElement Constructor(Int32)
The index corresponding to the color that will be used to create the ExcelColorElement.


In This Topic
    ExcelColorElement Constructor(Int32)
    In This Topic
    Creates an ExcelColorElement using one of Excel's indexed colors.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal indexed As Integer _
    )
    'Usage
     
    
    Dim indexed As Integer
     
    Dim instance As New ExcelColorElement(indexed)
    public ExcelColorElement( 
       int indexed
    )

    Parameters

    indexed
    The index corresponding to the color that will be used to create the ExcelColorElement.
    Remarks
    Excel offers 56 indexed colors.
    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