InsertComment

ICommentCollection.InsertComment method

Insert new comment to a collection at the specified index.

public IComment InsertComment(int index, string text, ISlide slide, PointF position, 
    DateTime creationTime)
ParameterTypeDescription
indexInt32Index of the element in a collection at which comment should be inserted.
textStringPlain text of a new comment.
slideISlideSlide in a presentation where to add a new comment.
positionPointFPosition on a slide where to add a new comment.
creationTimeDateTimeTime of a comment creation.

Return Value

Inserted comment.

See Also