Skip to main content
A newer version of this page is available. .

SubDocument.findFields(arg) Method

Returns an array of fields that match the search conditions.

Declaration

findFields(
    arg: number | Interval
): Field[]

Parameters

Name Type Description
arg number | Interval

A position or interval indicating where to search fields.

Returns

Type Description
Field[]

An array of the Field objects.

Remarks

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