[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.TextFrame.AddTable

AddTable Method

AddTable()

Adds a Table to the end of the text frame.

Declaration
public Table AddTable()
Returns
Type Description
Table

The added Table.

AddTable(Style)

Adds a Table to the end of the text frame.

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

The table style.

Returns
Type Description
Table

The added Table.

AddTable(int, int)

Adds a Table to the end of the text frame.

Declaration
public Table AddTable(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.

AddTable(int, int, Style)

Adds a Table to the end of the text frame.

Declaration
public Table AddTable(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.

AddTable(string[][])

Adds a Table to the end of the text frame.

Declaration
public Table AddTable(string[][] texts)
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.

Returns
Type Description
Table

The added Table.

AddTable(string[][], Style)

Adds a Table to the end of the text frame.

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