ICommentCollection

ICommentCollection

Overview

ICommentCollection is a class in Aspose.Slides FOSS for Python. Inherits from: ABC.

Represents a collection of comments of one author.

This class declares 8 methods for ICommentCollection objects in Python programs. Available methods include: __getitem__, add_comment, clear, insert_comment, remove, remove_at, to_array. Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: as_i_collection, as_i_enumerable.

Properties

NameTypeAccessDescription
as_i_collectionlistReadGets the as i collection.
as_i_enumerableAnyReadGets the as i enumerable.

Methods

SignatureDescription
to_array() → list[IComment]Returns a sublist of IComment starting at start_index with count items
to_array(start_index, count) → list[IComment]Calls to_array(start_index, count) on this ICommentCollection instance.
add_comment(text, slide, position, creation_time) → ICommentCreates and adds a comment with given text, slide, position, and creation_time, returning the IComment
insert_comment(index, text, slide, position, creation_time) → ICommentCalls insert_comment(index, text, slide, position, creation_time) on this ICommentCollection instance.
remove_at(index)Removes the comment located at the specified index
remove(comment)Deletes the specified IComment from the collection
clear()Removes all comments from the collection
__getitem__(index: int) → ICommentCalls getitem(index) on this ICommentCollection instance.

See Also

 English