ParagraphCollection

ParagraphCollection

Overview

ParagraphCollection is a class in Aspose.Words FOSS for Java. Inherits from: NodeCollection<Paragraph>.

Provides typed access to a collection of Paragraph nodes.

Edition status of its 2 listed members (a property and its accessor methods are listed separately, overloads once): 2 not yet exercised by a verified example.

This class declares 2 methods for ParagraphCollection objects in Java programs. Available methods include: get, toArray. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.

Methods

SignatureDescription
get(index: int) → ParagraphRetrieves a Paragraph at the given index.
toArray() → Paragraph[]Copies all paragraphs from the collection to a new array of paragraphs.

See Also