[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.CellCollection.Insert

Insert Method

Insert(Cell)

Inserts a Cell into this collection before a specified cell.

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

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

Returns
Type Description
Cell

The inserted Cell.

Insert(string, Cell)

Inserts a Cell into this collection before a specified cell.

Declaration
public Cell Insert(string text, Cell before)
Public Function Insert(text As String, before As Cell) As Cell
Parameters
Type Name Description
string text

The paragraph text in the new cell.

Cell before

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

Returns
Type Description
Cell

The inserted Cell.

Insert(string, InsertLocation)

Inserts a Cell into this collection at the specified location.

Declaration
public Cell Insert(string text, InsertLocation location)
Public Function Insert(text As String, location As InsertLocation) As Cell
Parameters
Type Name Description
string text

The paragraph text in the new cell.

InsertLocation location

The row insert position in the current range.

Returns
Type Description
Cell

The inserted Cell.