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

ParagraphCollection Class

A collection of the Paragraph objects.

Declaration

export class ParagraphCollection extends Collection<Paragraph>

Inherited Members

Inheritance

Collection<T>
ParagraphCollection

Methods

find(position) Method

Returns a list of paragraphs that traverse the specified position or interval.

Declaration

find(
    position: number | IInterval
): Paragraph[]

Parameters

Name Type Description
position number | IInterval

A document position or interval.

Returns

Type Description
Paragraph[]

A list of paragraphs.