ICommentCollection
Overview
ICommentCollection is a interface in Aspose.Slides FOSS for .NET.
Represents a collection of comments.
This interface provides 8 methods for working with ICommentCollection objects in .NET programs.
Available methods include: AddComment, Clear, FindCommentByIdx, InsertComment, Remove, RemoveAt, ToArray.
All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package.
Properties: AsICollection, AsIEnumerable, Count.
Properties
| 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. |
Methods
| 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. |