[]
        
(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)
Public Function Insert(location As InsertLocation) As Table
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)
Public Function Insert(style As Style, location As InsertLocation) As Table
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)
Public Function Insert(columns As Integer, rows As Integer, location As InsertLocation) As Table
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)
Public Function Insert(columns As Integer, rows As Integer, style As Style, location As InsertLocation) As Table
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)
Public Function Insert(texts As String()(), location As InsertLocation) As Table
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)
Public Function Insert(texts As String()(), style As Style, location As InsertLocation) As Table
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.