ICommentCollection.InsertModernComment method

Insert new modern comment to a collection at the specified index.

public IModernComment InsertModernComment(int index, string text, ISlide slide, IShape shape, 
    PointF position, DateTime creationTime)
Parameter Type Description
index Int32 Index of the element in a collection at which modern comment should be inserted.
text String Plain text of a new modern comment.
slide ISlide Slide in a presentation where to add a new modern comment.
shape IShape Shape on a slide to which a new modern comment is associated.
position PointF Position on a slide where to add a new modern comment.
creationTime DateTime Time of a modern comment creation.

Return Value

Inserted modern comment.

See Also