CommentCollection

CommentCollection

Vue de l’ensemble

‘CommentCollection’ est une classe dans Aspose.Slides FOSS pour .NET. Inhérents de: ‘IComment Collection’.

Il représente une collection de commentaires écrits par un seul auteur sur tous les slides dans une présentation.

Cette classe fournit 8 méthodes pour travailler avec les objets CommentCollection dans des programmes .NET. Les méthodologies disponibles comprennent: ‘AddComment’, ‘Clear’, FindCommenByIdx', ‘InsertComement’, '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

NameTypeAccessDescription
CountintReadGets the number of comments in this collection.
AsICollectionIList<IComment>ReadGets the as i collection.
AsIEnumerableIEnumerable<IComment>ReadGets the as i enumerable.

méthodes

SignatureDescription
ToArray()Returns a sub‑array of comments from start index of given count
ToArray(start: int, count: int)Calls ToArray(start, count) on this CommentCollection instance.
AddComment(text: string, slide: ISlide, position: PointF, creationTime: DateTime)Creates and adds a comment with text, slide, position and creation time
InsertComment(index: int, text: string, slide: ISlide, position: PointF, creationTime: DateTime)Inserts a new comment at the specified index with given details
RemoveAt(index: int)Removes the comment located at the provided index
Remove(comment: IComment)Deletes the specified IComment instance from the collection
Clear()Removes all comments from the collection
FindCommentByIdx(idx: int)Retrieves the comment that matches the given index identifier

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français