Xceed Workbooks for .NET v1.4 Documentation
DeleteColumns(Int32,Int32) Method


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > Worksheet Class > DeleteColumns Method : DeleteColumns(Int32,Int32) Method
The Id of the Column that is currently located where the deletion will start. Ids start at 0.
The number of Columns that will be deleted. The default value is 1.
Determines where the deletion starts by using an Id.
Syntax
'Declaration

 

Public Overloads Sub DeleteColumns( _

   ByVal columnId As Integer, _

   Optional ByVal count As Integer _

) 
'Usage

 

Dim instance As Worksheet

Dim columnId As Integer

Dim count As Integer

 

instance.DeleteColumns(columnId, count)
public void DeleteColumns( 

   int columnId,

   int count

)

Parameters

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