CommentCollection
General
CommentCollection is a class in Aspose.Slides for Python.
Inherits from: BaseCollection, ICommentCollection.
CommentCollection és una classe en Aspose.Slides per a Python. És heretat de: ゚BaseCollection⌒, ヽICommentCollection▽ .
Representa una col·lecció de comentaris d’un autor.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
as_i_collection | list | Read | Exposes the comments as a generic list collection |
as_i_enumerable | Any | Read | Provides an enumerable view of the comment collection |
Mètodes
| Signature | Description |
|---|---|
to_array() → list['IComment'] | Returns a list of IComment objects in the collection |
add_comment(text, slide, position, creation_time) → 'IComment' | Add a comment to the end of this author’s comment collection for the given slide. |
insert_comment(index, text, slide, position, creation_time) → 'IComment' | Insert a comment at the given position in this author’s comment list. |
remove_at(index: int) | Removes the comment located at the given index from the collection |
remove(comment) | Remove the given comment (and its replies) from the collection. |
clear() | Remove all comments by this author across all slides. |
find_comment_by_idx(idx) → Optional['IComment'] | Find a comment by its idx value (unique per author). |