SubDocument.findFields(position) Method
Returns a field if its interval includes the specified position.
Declaration
findFields(
position: number | Interval
): Field[]
Parameters
Name | Type | Description |
---|---|---|
position | number | Interval | An integer value specifying the target field’s position. |
Returns
Type | Description |
---|---|
Field[] | An array of the Field objects. |
Remarks
Usage example:
richEdit.document.activeSubDocument.findFields(richEdit.selection.intervals[0].start);
See Also