Back to Devexpress

SubDocument.findParagraphs(arg) Method

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

latest1.1 KB
Original Source

SubDocument.findParagraphs(arg) Method

Returns an array of paragraphs that match the search conditions.

Declaration

ts
findParagraphs(
    arg: number | Interval | Interval[]
): Paragraph[]

Parameters

NameTypeDescription
argnumberInterval

A position or interval(s) where to search for paragraphs.

|

Returns

TypeDescription
Paragraph[]

An array of paragraphs.

|

Remarks

javascript
richEdit.document.activeSubDocument.findParagraphs(richEdit.selection.intervals);

You can use the paragraphsInfo property to get information about all paragraphs in the sub-document.

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

See Also

SubDocument Class

SubDocument Members