CommentCollection

General

CommentCollection és una classe en Aspose.Slides FOSS per a C++.

Gestiona una col·lecció de comentaris que pertanyen a un sol autor.

Propietats

NameTypeAccessDescription
CommentCollectionCommentCollectionReadProperty provides access to the underlying CommentCollection instance
ICommentCollectionICommentCollectionReadProperty provides access to the collection as an ICommentCollection interface

Mètodes

SignatureDescription
CommentCollection()CommentCollectionConstructs a collection owned by the given author.
ICommentCollection()ICommentCollectionProperty provides access to the collection as an ICommentCollection interface
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).
 Català