Skip to main content
All docs
V18.2

SubDocument.findTables(position) Method

Returns a table if its interval includes the specified position.

Declaration

findTables(
    position: number | Interval
): Field[]

Parameters

Name Type Description
position number | Interval

An integer value specifying the target table’s position.

Returns

Type Description
Field[]

An array of the Table objects.

Remarks

Usage example:


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