Paragraphs

Overview

Paragraphs is a class in Aspose.PDF FOSS for C++.

Paragraphs.Add(paragraph) inserts a new paragraph at the end of a collection, while Insert(index, paragraph) inserts a paragraph at a specific position.

This class declares 6 methods for Paragraphs objects in C++ programs. Available methods include: Add, Clear, Count, Insert, Remove, RemoveRange. Public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.

Methods

SignatureDescription
Add(paragraph: BaseParagraph)Inserts a new paragraph at the end of a collection, while Insert(index, paragraph) inserts a paragraph at a specific position
Insert(index: int, paragraph: BaseParagraph)Calls Insert(index, paragraph) on this Paragraphs instance.
Remove(paragraph: BaseParagraph)Deletes a specific paragraph, and RemoveRange(index, count) deletes a sequence of paragraphs
RemoveRange(index: int, count: int)Calls RemoveRange(index, count) on this Paragraphs instance.
Clear()Empties the collection, and Count() returns the number of paragraphs currently stored
Count() → intCalls Count on this Paragraphs instance.

See Also

 English