InsertModernComment

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)
ParameterTypeDescription
indexInt32Index of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideISlideSlide in a presentation where to add a new modern comment.
shapeIShapeShape on a slide to which a new modern comment is associated.
positionPointFPosition on a slide where to add a new modern comment.
creationTimeDateTimeTime of a modern comment creation.

Return Value

Inserted modern comment.

See Also