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 specified number of rows and its contents from the worksheet. Rows below the deleted rows will be moved up.

Signature
C#
C#
 public void DeleteRows(int rowNumber, int rowCount)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Sub DeleteRows(ByVal rowNumber As Integer, ByVal rowCount As Integer)
{signature}
{parameters}
{param:rowNumber}The 0\-based number of the row to remove.{param}
{param:rowCount}The number of the rows to remove.{param}
{example}{code:csharp|title=C#}
Parameters
Param
rowNumber
rowNumber

The 0-based number of the row to remove.

Param
rowCount
rowCount

The number of the rows to remove.

Example
Code Block
csharp
csharp
titleC#

ws.DeleteRows(70, 500);
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

ws.DeleteRows(70, 500)
{code} {example}