Skip to main content
All docs
V19.2

TableCollectionBaseApi Class

A collection of the Table objects.

Declaration

export class TableCollectionBaseApi extends TableCollection

Inheritance

Collection<T>
TableCollection
TableCollectionBaseApi

Methods

create(position, columnCount, rowCount) Method

Creates a new Table object with the specified settings and adds it to the collection.

Declaration

create(
    position: number,
    columnCount: number,
    rowCount: number
): Table

Parameters

Name Type Description
position number

The table position.

columnCount number

The number of columns in the table.

rowCount number

The number of rows in the table.

Returns

Type Description
Table

The newly created table.

Remarks

richEdit.document.tables.create(tblPosition,2,3);
See Also