Back to Devexpress

SubDocument.findFields(arg) Method

aspnet-js-subdocument-dot-findfields-x28-arg-x29.md

latest1.0 KB
Original Source

SubDocument.findFields(arg) Method

Returns an array of fields that match the search conditions.

Declaration

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

Parameters

NameTypeDescription
argnumberInterval

A position or interval where to search for fields.

|

Returns

TypeDescription
Field[]

An array of fields.

|

Remarks

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

You can use the fieldsInfo property to get information about all fields in the sub-document.

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

See Also

SubDocument Class

SubDocument Members