CommentCollection

CommentCollection

Overview

CommentCollection is a class in Aspose.Slides FOSS for C++.

Manages a collection of comments belonging to a single author.

Properties

NameTypeAccessDescription
CommentCollectionCommentCollectionReadProperty provides access to the underlying comment collection instance
ICommentCollectionICommentCollectionReadProperty provides the ICommentCollection interface for this collection

Methods

SignatureDescription
CommentCollection()CommentCollectionConstructs a collection owned by the given author.
ICommentCollection()ICommentCollectionProperty provides the ICommentCollection interface for this collection
ICommentCollection()ICommentCollection
remove_at(index: std::size_t)Removes the comment at the given index.
remove(comment: Comment)Removes the given comment (and its replies) from the collection.
clear()Removes 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(start: std::size_t, count: std::size_t)std::vector<Comment*>Returns a vector of non-owning pointers to all comments.
remove_comment(comment: Comment)Removes a specific comment by pointer (used internally by Comment::remove).

See Also