CommentCollection — Aspose.Slides FOSS C++ API Reference
CommentCollection — Manages a collection of comments belonging to a single author.
Package: Aspose::Slides
Properties
| Property | Type | Access | Description |
|---|---|---|---|
CommentCollection | CommentCollection | Read | |
ICommentCollection | ICommentCollection | Read |
Methods
| Method | Returns | Description |
|---|---|---|
CommentCollection() | CommentCollection | Constructs a collection owned by the given author. |
ICommentCollection() | ICommentCollection | |
ICommentCollection() | ICommentCollection | |
remove_at() | void | Removes the comment at the given index. |
remove() | void | Removes the given comment (and its replies) from the collection. |
clear() | void | Removes all comments from this collection. |
size() | std::size_t | Returns the number of comments. |
to_array() | std::vector<Comment*> | Returns a vector of non-owning pointers to all comments. |
to_array() | std::vector<Comment*> | Returns a vector of non-owning pointers to all comments. |
remove_comment() | void | Removes a specific comment by pointer (used internally by Comment::remove). |