CommentCollection

General

CommentCollection is a class in Aspose.Slides for NET. Inherits from: ICommentCollection.

CommentCollection és una classe en Aspose.Slides per NET. Hereta de: ゚ICommentCollection⌒’ .

Representa una col·lecció de comentaris d’un mateix autor a través de totes les diapositives en una presentació. Cada operació d"elecció reconstrueix la llista de coments des del paquet; no es realitza cap caixeria al nivell de listes.

Propietats

NameTypeAccessDescription
CountintReadGets the total number of comments in the collection
AsICollectionIList<IComment>ReadExposes the comments as an IList collection
AsIEnumerableIEnumerable<IComment>ReadExposes the comments as an IEnumerable sequence

Mètodes

SignatureDescription
ToArray()Returns a sub‑array of comments starting at start with count items
ToArray(start: int, count: int)
AddComment(text: string, slide: ISlide, position: PointF, creationTime: DateTime)Creates a new comment with the given text, slide, position and timestamp and adds it to the collection
InsertComment(index: int, text: string, slide: ISlide, position: PointF, creationTime: DateTime)Inserts a new comment with the specified parameters at the given index
RemoveAt(index: int)Removes the comment located at the specified index
Remove(comment: IComment)Deletes the provided comment instance from the collection
Clear()Removes all comments from the collection
FindCommentByIdx(idx: int)Retrieves the comment whose internal index matches idx
 Català