ICommentCollection

ICommentCollection interface

Represents a collection of comments of one author.

public interface ICommentCollection : IGenericCollection<IComment>

Properties

Name Description
Item { get; } Gets the element at the specified index. Read-only IComment.

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.
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