Xceed Workbooks for .NET v2.0 Documentation
InsertColumns(String,Int32) Method


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > Worksheet Class > InsertColumns Method : InsertColumns(String,Int32) Method
The string Id of the Column that is currently located where the new Columns will be inserted. Ids start at A.
The number of Columns that will be inserted. The default value is 1.
Determines where the new Columns will be inserted by using a string Id.
Syntax
'Declaration
 
Public Overloads Sub InsertColumns( _
   ByVal columnId As String, _
   Optional ByVal count As Integer _
) 
'Usage
 
Dim instance As Worksheet
Dim columnId As String
Dim count As Integer
 
instance.InsertColumns(columnId, count)
public void InsertColumns( 
   string columnId,
   int count
)

Parameters

columnId
The string Id of the Column that is currently located where the new Columns will be inserted. Ids start at A.
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

Reference

Worksheet Class
Worksheet Members
Overload List