[]
        
(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()
Public Function Add() As Table
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)
Public Function Add(style As Style) As Table
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)
Public Function Add(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.

Add(int, int, Style)

Adds a Table to this collection at the End location.

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

Add(string[][], Style)

Adds a Table to this collection at the End location.

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

Returns
Type Description
Table

The added Table.