CommentAuthorCollection
Overview
CommentAuthorCollection is a class in Aspose.Slides FOSS for Python.
Inherits from: BaseCollection, ICommentAuthorCollection.
Represents a collection of comment authors.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
as_i_collection | list | Read | |
as_i_enumerable | Any | Read | Exposes the collection as an enumerable interface |
Methods
| Signature | Description |
|---|---|
add_author(name: str, initials: str) → 'ICommentAuthor' | Add a new author at the end of the collection. |
to_array() → List['ICommentAuthor'] | Returns all comment authors as a list |
find_by_name(name: str) → List['ICommentAuthor'] | Returns a list of authors whose name matches the given string |
find_by_name_and_initials(name: str, initials: str) → List['ICommentAuthor'] | Returns authors matching both name and initials |
remove_at(index: int) | Removes the author at the specified zero‑based index |
remove(author: 'ICommentAuthor') | Deletes the specified author from the collection |
clear() | Removes all authors from the collection |