[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Body.AddTable

AddTable Method

AddTable()

Adds a Table to the end of the current body.

Declaration
public Table AddTable()
Public Function AddTable() As Table
Returns
Type Description
Table

The added Table.

AddTable(Style)

Adds a Table to the end of the current body.

Declaration
public Table AddTable(Style style)
Public Function AddTable(style As Style) As Table
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 current body.

Declaration
public Table AddTable(int columns, int rows)
Public Function AddTable(columns As Integer, rows As Integer) 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.

Returns
Type Description
Table

The added Table.

AddTable(int, int, Style)

Adds a Table to the end of the current body.

Declaration
public Table AddTable(int columns, int rows, Style style)
Public Function AddTable(columns As Integer, rows As Integer, style As Style) 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.

Returns
Type Description
Table

The added Table.

AddTable(string[][])

Adds a Table to the end of the current body.

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

Returns
Type Description
Table

The added Table.

AddTable(string[][], Style)

Adds a Table to the end of the current body.

Declaration
public Table AddTable(string[][] texts, Style style)
Public Function AddTable(texts As String()(), style As Style) 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 dimension determines the number of cells.

Style style

The table style.

Returns
Type Description
Table

The added Table.