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
| Name | Type | Access | Description |
|---|---|---|---|
as_i_collection | list | Read | Gets the as i collection. |
as_i_enumerable | Any | Read | Gets the as i enumerable. |
Methods
| Signature | Description |
|---|---|
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) → IComment | Creates and adds a comment with given text, slide, position, and creation_time, returning the IComment |
insert_comment(index, text, slide, position, creation_time) → IComment | Calls 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) → IComment | Calls getitem(index) on this ICommentCollection instance. |