The requested page is not available for the requested platform. You are viewing the content for Default platform.

Table Class

Defines a table in the document.

Declaration

export class Table

Properties

index Property

Gets an index of the table.

Declaration

readonly index: number

Property Value

Type Description
number

The table's index.

Remarks

Use the index to access the corresponding table by the TableCollection.getByIndex method.

richEdit.document.tables.getByIndex(0);

interval Property

Gets the text buffer interval occupied by the current table element.

Declaration

readonly interval: Interval

Property Value

Type Description
Interval

An object that contains the interval settings.

rows Property

Provides access to a collection of table rows.

Declaration

readonly rows: TableRowCollection

Property Value

Type Description
TableRowCollection

An array of TableRow objects that store information about individual table rows.

Methods

delete Method

Deletes the current table.

Declaration

delete(): void