ICommentCollection
Vue de l’ensemble
‘ICommentCollection’ est une interface dans Aspose.Slides FOSS pour .NET.
Il représente une collection de commentaires.
Cette interface fournit 8 méthodes pour travailler avec les objets ICommentCollection dans des programmes .NET. Les méthodologies disponibles comprennent: AddCommenc', 'Clear', FindCommentsByIdx’, ‘InsertCommenta’, ‘Remove’, ’RimoveAt’, ‘ToArray’. Tous les membres publics sont accessibles à n’importe quelle application .Net après l’installation de l’Aspose.Slides FOSS pour le package .net. Propriétés: ‘AsICollection’, ‚AsIEnumerable`, ‘Count’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
AsICollection | IList<IComment> | Read | Returns this collection as a generic list. |
AsIEnumerable | IEnumerable<IComment> | Read | Returns this collection as an enumerable. |
Count | int | Read | Gets the number of comments in the collection. |
méthodes
| Signature | Description |
|---|---|
ToArray() | Returns all comments in this collection as a new list. |
ToArray(start: int, count: int) | Returns a range of comments from this collection. |
AddComment(text: string, slide: ISlide, position: PointF, creationTime: DateTime) | Adds a new comment to the collection. |
InsertComment(index: int, text: string, slide: ISlide, position: PointF, creationTime: DateTime) | Inserts a new comment at the specified position in the collection. |
RemoveAt(index: int) | Removes the comment at the specified positional index in the flat enumeration. |
Remove(comment: IComment) | Removes the specified comment by delegating to its own Remove method. |
Clear() | Removes all comments from the collection. |
FindCommentByIdx(idx: int) | Finds a comment by its persistent author-scoped comment index. |
Voir aussi
- Aspose.Slides - référence API d’entreprise