The requested page is not available for the requested platform. You are viewing the content for Default platform.

ParagraphCollection Class

A collection of the Paragraph objects.

Declaration

export class ParagraphCollection extends Collection<Paragraph>

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.