Skip to main content

SubDocument.findTables(arg) Method

Returns an array of tables that match the search conditions.

Declaration

findTables(
    arg: number | Interval
): Table[]

Parameters

Name Type Description
arg number | Interval

A position or interval where to search for tables.

Returns

Type Description
Table[]

An array of tables.

Remarks

richEdit.document.activeSubDocument.findTables(richEdit.selection.intervals[0]);

You can use the tablesInfo property to get information about all tables in the sub-document.

Refer to the following section for more information: Access a Structural Element.

See Also