Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

Deletes a number of columns and its contents from the worksheet. Columns after the deleted columns will be moved to the left.

Signature
C#
C#
 public void DeleteColumns(int columnNumber, int columnCount)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Sub DeleteColumns(ByVal columnNumber As Integer, ByVal columnCount As Integer)
{signature}
{parameters}
{param:columnNumber}The 0\-based number of the column to remove.{param}
{param:columnCount}The number of columns to delete.{param}
{example}{code:csharp|title=C#}
Parameters
Param
columnNumber
columnNumber

The 0-based number of the column to remove.

Param
columnCount
columnCount

The number of columns to delete.

Example
Code Block
csharp
csharp
titleC#

ws.DeleteColumns(3,4);
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

ws.DeleteColumns(3,4)
{code} {example}