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

Inserts a row in the worksheet above the specified row.

Signature
C#
C#
 public void InsertRow(int rowNumber, RowInsertBehavior rowCellsCopyBehavior)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Sub InsertRow(ByVal rowNumber As Integer, ByVal rowCellsCopyBehavior As RowInsertBehavior)
{signature}
{parameters}
{param:rowNumber}The 0\-based number of the row to insert.{param}
{param:rowCellsCopyBehavior}The Style.RowInsertBehavior that defines the source style for each cell in the new row. Each cell in the new row will be given the style of its neighbor identified in this parameter.{param}
{example}{code:csharp|title=C#}
Parameters
Param
rowNumber
rowNumber

The 0-based number of the row to insert.

Param
rowCellsCopyBehavior
rowCellsCopyBehavior

The Style.RowInsertBehavior that defines the source style for each cell in the new row. Each cell in the new row will be given the style of its neighbor identified in this parameter.

Example
Code Block
csharp
csharp
titleC#

  ws.InsertRow(3, Style.InsertBehavior.CopyAreaFromBelow);
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

ws.InsertRow(3, Style.InsertBehavior.CopyAreaFromBelow)
{code} {example}