[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.RowCollection.Insert

Insert Method

Insert(Row)

Inserts a Row into this collection before a specified row.

Declaration
public Row Insert(Row before)
Public Function Insert(before As Row) As Row
Parameters
Type Name Description
Row before

The table row before which to insert new row. If null, the new row will be added to the end of the last table in the range.

Returns
Type Description
Row

The inserted Row.

Insert(string[], Row)

Inserts a Row into this collection before a specified row.

Declaration
public Row Insert(string[] texts, Row before)
Public Function Insert(texts As String(), before As Row) As Row
Parameters
Type Name Description
string[] texts

An array of row cell texts. The size of the array determines the number of cells in the row.

Row before

The table row before which to insert new row. If null, the new row will be added to the end of the last table in the range.

Returns
Type Description
Row

The inserted Row.

Insert(string[], InsertLocation)

Inserts a Row into this collection at the specified location.

Declaration
public Row Insert(string[] texts, InsertLocation location)
Public Function Insert(texts As String(), location As InsertLocation) As Row
Parameters
Type Name Description
string[] texts

An array of row cell texts. The size of the array determines the number of cells in the row.

InsertLocation location

The row insert position in the current range.

Returns
Type Description
Row

The inserted Row.