PortionCollection

PortionCollection — Aspose.Slides FOSS C++ API Reference

PortionCollection — Manages a collection of text portions within a paragraph.

Package: Aspose::Slides


Properties

PropertyTypeAccessDescription
PortionCollectionPortionCollectionRead
referencereferenceRead
pointerpointerRead
IteratorIteratorRead
ConstIteratorConstIteratorRead

Methods

MethodReturnsDescription
PortionCollection()PortionCollection
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 portions.
count()std::size_tReturns the number of portions (alias for size()).
is_read_only()boolReturns whether the collection is read-only.
index_of()std::optional<std::size_t>Returns the index of the given portion, or std::nullopt if not found.
clear()voidRemoves all portions.
contains()boolReturns true if the collection contains the given portion.
remove()boolRemoves the given portion from the collection.
remove_at()voidRemoves the portion at the given index.
begin()Iterator
end()Iterator
begin()ConstIterator
end()ConstIterator

See Also