Click or drag to resize

CommentCollection Class

Represents a collection of Comments that are contained on a particular Slide.
Inheritance Hierarchy
SystemObject
  GemBox.PresentationCollection
    GemBox.PresentationCollectionComment
      GemBox.PresentationCommentCollection

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1032 (21.3.35.1032)
Syntax
public sealed class CommentCollection : Collection<Comment>

The CommentCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of Comments contained in the collection.
Public propertyItem
Gets or sets the Comment at the specified index.
Top
Methods
  NameDescription
Public methodAdd(String)
Adds a new comment with the same author as the previously added comment in the top-left corner of the slide.
Public methodAdd(Comment)
Adds a Comment to the end of the collection.
Public methodAdd(CommentAuthor, String)
Adds a new comment with the specified author in the top-left corner of the slide.
Public methodAdd(String, String, String)
Adds a new comment with a new author in the top-left corner of the slide.
Public methodClear
Removes all Comments from the collection.
Public methodContains
Determines whether a Comment is in the collection.
Public methodGetEnumerator
Returns an enumerator that iterates through the CommentCollection.
Public methodIndexOf
Searches for the specified Comment and returns the zero-based index of the first occurrence within the entire collection.
Public methodInsert
Inserts a Comment to the collection at the specified index.
Public methodRemove
Removes the first occurrence of a specific Comment from the collection.
Public methodRemoveAt
Removes the Comment at the specified index of the collection.
Top
See Also