add method

This method creates a new table at the specified position.

Defined in

TextTables

Syntax

public TextTable add(TextRange position ,int numOfRow, int numOfColumn) throws SymphonyException

Parameters

TextRange position

Specifies the position before which the new table is to be inserted.

int numOfRow

Specifies the number of rows in the new table. The maximum number of rows in a table is 3276.

int numOfColumn

Specifies the number of columns in the new table. The maximum number of columns in a table is 64.

Return Value

textTable

A TextTable object that represents a table.

Usage

If the number of rows or the number of columns in the table is out of bound, this method throws an exception.

See examples

Example: add method