CommentCollection

CommentCollection — Aspose.Slides FOSS C++ API Reference

CommentCollection — Manages a collection of comments belonging to a single author.

Package: Aspose::Slides


Properties

PropertyTypeAccessDescription
CommentCollectionCommentCollectionRead
ICommentCollectionICommentCollectionRead

Methods

MethodReturnsDescription
CommentCollection()CommentCollectionConstructs a collection owned by the given author.
ICommentCollection()ICommentCollection
ICommentCollection()ICommentCollection
remove_at()voidRemoves the comment at the given index.
remove()voidRemoves the given comment (and its replies) from the collection.
clear()voidRemoves all comments from this collection.
size()std::size_tReturns 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()voidRemoves a specific comment by pointer (used internally by Comment::remove).

See Also