[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.TableCollection.Insert

Insert Method

Insert(InsertLocation)

Inserts a Table into this collection at a specified location.

Declaration
public Table Insert(InsertLocation location)
Parameters
Type Name Description
InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Table

The inserted Table.

Insert(Style, InsertLocation)

Inserts a Table into this collection at a specified location.

Declaration
public Table Insert(Style style, InsertLocation location)
Parameters
Type Name Description
Style style

The table style.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Table

The inserted Table.

Insert(int, int, InsertLocation)

Inserts a Table into this collection at a specified location.

Declaration
public Table Insert(int columns, int rows, InsertLocation location)
Parameters
Type Name Description
int columns

The number of columns in the new table.

int rows

The number of rows in the new table.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Table

The inserted Table.

Insert(int, int, Style, InsertLocation)

Inserts a Table into this collection at a specified location.

Declaration
public Table Insert(int columns, int rows, Style style, InsertLocation location)
Parameters
Type Name Description
int columns

The number of columns in the new table.

int rows

The number of rows in the new table.

Style style

The table style.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Table

The inserted Table.

Insert(string[][], InsertLocation)

Inserts a Table into this collection at a specified location.

Declaration
public Table Insert(string[][] texts, InsertLocation location)
Parameters
Type Name Description
string[][] texts

A two dimensional array of texts to put in the cells. The first dimension determines the number of rows, the second the number of cells.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Table

The inserted Table.

Insert(string[][], Style, InsertLocation)

Inserts a Table into this collection at a specified location.

Declaration
public Table Insert(string[][] texts, Style style, InsertLocation location)
Parameters
Type Name Description
string[][] texts

A two dimensional array of texts to put in the cells. The first dimension determines the number of rows, the second the number of cells.

Style style

The table style.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
Table

The inserted Table.