PortionCollection — Aspose.Slides FOSS C++ API Reference
PortionCollection — Manages a collection of text portions within a paragraph.
Package: Aspose::Slides
Properties
| Property | Type | Access | Description |
|---|---|---|---|
PortionCollection | PortionCollection | Read | |
reference | reference | Read | |
pointer | pointer | Read | |
Iterator | Iterator | Read | |
ConstIterator | ConstIterator | Read |
Methods
| Method | Returns | Description |
|---|---|---|
PortionCollection() | PortionCollection | |
reference() | reference | |
pointer() | pointer | |
Iterator() | Iterator | |
Iterator() | Iterator | |
reference() | reference | |
pointer() | pointer | |
ConstIterator() | ConstIterator | |
ConstIterator() | ConstIterator | |
init_internal() | void | Initialize from XML, entering XML-backed mode. |
size() | std::size_t | Returns the number of portions. |
count() | std::size_t | Returns the number of portions (alias for size()). |
is_read_only() | bool | Returns 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() | void | Removes all portions. |
contains() | bool | Returns true if the collection contains the given portion. |
remove() | bool | Removes the given portion from the collection. |
remove_at() | void | Removes the portion at the given index. |
begin() | Iterator | |
end() | Iterator | |
begin() | ConstIterator | |
end() | ConstIterator |