TXTextControl.TableCollection.Add Method

Adds a new table at the current text input position.

Add()

Opens a dialog box and, when left with Ok, adds a new table with the specified attributes.

[C#]
public bool Add();
[Visual Basic]
Public Function Add() As Boolean

Add(Int32, Int32)

Adds a new table at the current text input position. The new table has the specified number of rows and columns.

[C#]
public bool Add(int rows, int columns);
[Visual Basic]
Public Function Add(ByVal rows As Integer, ByVal columns As Integer) As Boolean
Parameter Description
rows

Specifies the number of rows the table consists of.

columns

Specifies the number of columns the table consists of.

Add(Int32, Int32, Int32)

Adds a new table at the current text input position. The new table has the specified number of rows and columns. The specified identifier can be used to get the table from the collection.

[C#]
public bool Add(int rows, int columns, int id);
[Visual Basic]
Public Function Add(ByVal rows As Integer, ByVal columns As Integer, ByVal id As Integer) As Boolean
Parameter Description
rows

Specifies the number of rows the table consists of.

columns

Specifies the number of columns the table consists of.

id

Specifies the table's id.

Return Value

The return value is true, if the table could be added. Otherwise it is false.

See Also