Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / Worksheet Class / InsertColumns Method / InsertColumns(Int32,Int32) Method
The Id of the Column that is currently located where the new Columns will be inserted. Ids start at 0.
The number of Columns that will be inserted. The default value is 1.


In This Topic
    InsertColumns(Int32,Int32) Method
    In This Topic
    Determines where the new Columns will be inserted by using an Id .
    Syntax
    'Declaration
     
    
    Public Overloads Sub InsertColumns( _
       ByVal columnId As Integer, _
       Optional ByVal count As Integer _
    ) 
    'Usage
     
    
    Dim instance As Worksheet
    Dim columnId As Integer
    Dim count As Integer
     
    instance.InsertColumns(columnId, count)
    public void InsertColumns( 
       int columnId,
       int count
    )

    Parameters

    columnId
    The Id of the Column that is currently located where the new Columns will be inserted. Ids start at 0.
    count
    The number of Columns that will be inserted. The default value is 1.
    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