ICommentCollection class

ICommentCollection class

Represents a collection of comments of one author.

The ICommentCollection type exposes the following members:

Gets the element at the specified index. Read-only IComment.

Indexer

NameDescription
[index]

Methods

MethodDescription
to_array(self)Creates and returns an array with all comments.
to_array(self, start_index, count)Creates and returns an array with all comments from the specified range.
add_comment(self, text, slide, position, creation_time)Add new comment at the end of a collection.
add_modern_comment(self, text, slide, shape, position, creation_time)Add new modern comment at the end of a collection.
insert_comment(self, index, text, slide, position, creation_time)Insert new comment to a collection at the specified index.
insert_modern_comment(self, index, text, slide, shape, position, creation_time)Insert new modern comment to a collection at the specified index.
remove_at(self, index)Removes the element at the specified index in a collection.
remove(self, comment)Removes the first occurrence of the specified comment in a collection.
clear(self)Removes all comments from a collection.

See Also