[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.TableCollection.Add

Add Method

Add()

Adds a Table to this collection at the End location.

Declaration
public Table Add()
Returns
Type Description
Table

The added Table.

Add(Style)

Adds a Table to this collection at the End location.

Declaration
public Table Add(Style style)
Parameters
Type Name Description
Style style

The table style.

Returns
Type Description
Table

The added Table.

Add(int, int)

Adds a Table to this collection at the End location.

Declaration
public Table Add(int columns, int rows)
Parameters
Type Name Description
int columns

The number of columns in the new table.

int rows

The number of rows in the new table.

Returns
Type Description
Table

The added Table.

Add(int, int, Style)

Adds a Table to this collection at the End location.

Declaration
public Table Add(int columns, int rows, Style style)
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.

Returns
Type Description
Table

The added Table.

Add(string[][], Style)

Adds a Table to this collection at the End location.

Declaration
public Table Add(string[][] texts, Style style = null)
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.

Returns
Type Description
Table

The added Table.