CommentCollection
Contents
[
Hide
]CommentCollection class
Represents a collection of comments of one author.
public sealed class CommentCollection : DomObject<CommentAuthor>, ICommentCollection
Properties
Name | Description |
---|---|
Count { get; } | Gets the number of elements actually contained in the collection. Read-only Int32. |
IsSynchronized { get; } | Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only Boolean. |
Item { get; } | Gets the element at the specified index. Read-only Comment . |
SyncRoot { get; } | Returns a synchronization root. Read-only Object. |
Methods
Name | Description |
---|---|
AddComment(string, ISlide, PointF, DateTime) | Add new comment at the end of a collection. |
AddModernComment(string, ISlide, IShape, PointF, DateTime) | Add new modern comment at the end of a collection. |
Clear() | Removes all comments from a collection. |
CopyTo(Array, int) | Copies all elements from the collection to the specified array. |
FindCommentByIdx(int) | Finds a comment in the collection by index. |
GetEnumerator() | Returns an enumerator that iterates through the collection. |
InsertComment(int, string, ISlide, PointF, DateTime) | Insert new comment to a collection at the specified index. |
InsertModernComment(int, string, ISlide, IShape, PointF, DateTime) | Insert new modern comment to a collection at the specified index. |
Remove(IComment) | Removes the first occurrence of the specified comment in a collection. |
RemoveAt(int) | Removes the element at the specified index in a collection. |
ToArray() | Creates and returns an array with all comments. |
ToArray(int, int) | Creates and returns an array with all comments from the specified range. |
See Also
- class DomObject<TParent>
- class CommentAuthor
- interface ICommentCollection
- namespace Aspose.Slides
- assembly Aspose.Slides