ParagraphCollection

ParagraphCollection — Aspose.Slides FOSS C++ API Reference

ParagraphCollection — Manages a collection of paragraphs within a text frame.

Package: Aspose::Slides


Properties

PropertyTypeAccessDescription
ParagraphCollectionParagraphCollectionRead
referencereferenceRead
pointerpointerRead
IteratorIteratorRead
ConstIteratorConstIteratorRead

Methods

MethodReturnsDescription
ParagraphCollection()ParagraphCollection
reference()reference
pointer()pointer
Iterator()Iterator
Iterator()Iterator
reference()reference
pointer()pointer
ConstIterator()ConstIterator
ConstIterator()ConstIterator
init_internal()voidInitialize from XML, entering XML-backed mode.
size()std::size_tReturns the number of paragraphs.
remove_at()voidRemoves the paragraph at the given index.
remove()boolRemoves the given paragraph from the collection.
clear()voidRemoves all paragraphs.
is_read_only()boolReturns whether the collection is read-only (always false).
index_of()std::optional<std::size_t>Returns the index of the given paragraph, or std::nullopt if not found.
contains()boolReturns whether the collection contains the given paragraph.
set_slide()voidSets the parent slide for this collection.
begin()Iterator
end()Iterator
begin()ConstIterator
end()ConstIterator

See Also