SubDocument.findParagraphs(arg) Method
In This Article
Returns an array of paragraphs that match the search conditions.
#Declaration
TypeScript
findParagraphs(
arg: number | Interval | Interval[]
): Paragraph[]
#Parameters
Name | Type | Description |
---|---|---|
arg | number | Interval | Interval[] | A position or interval |
#Returns
Type | Description |
---|---|
Paragraph[] | An array of paragraphs. |
#Remarks
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