CommentAuthorCollection
Vue de l’ensemble
‘CommentAuthorCollection’ est une classe dans Aspose.Slides FOSS pour Python.Déduit de: ‘BaseColection’, ‘ICommentOuthorCollection’.
Il représente une collection d’auteurs de commentaires.
Cette classe fournit 7 méthodes pour travailler avec les objets CommentAuthorCollection dans les programmes Python. Les méthodologies disponibles comprennent: add_author, clear , find_by_name ; find_ by_nam_and_initials; ‘removeetremover_at. Tous les membres publics sont accessibles à n'importe quelle application Pythone après l'installation de la version Aspose.Slides FOSS pour le package Pyathon. Propriétés : as_i_collectionoua_inumerable` .
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
as_i_collection | list | Read | Gets the as i collection. |
as_i_enumerable | Any | Read | Gets the as i enumerable. |
length | int | Read | Returns the number of elements. |
méthodes
| 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 |
Voir aussi
- Aspose.Slides - référence API d’entreprise