Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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#
Wiki Markup
{description}
{excerpt}Deletes a number of columns and its contents from the worksheet. Columns after the deleted columns will be moved to the left.{excerpt}
{signature: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)
Parameters
{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#}
ws.DeleteColumns(3,4);
{code}
{code:vb.net
|title=vb.net
}
ws.DeleteColumns(3,4){code}

{example}
Param
columnNumbercolumnNumber

The 0-based number of the column to remove.

Param
columnCountcolumnCount

The number of columns to delete.

Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle