InsertComment
CommentCollection.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)
| Parameter | Type | Description | 
|---|---|---|
| index | Int32 | Index of the element in a collection at which comment should be inserted. | 
| text | String | Plain text of a new comment. | 
| slide | ISlide | Slide in a presentation where to add a new comment. | 
| position | PointF | Position on a slide where to add a new comment. | 
| creationTime | DateTime | Time of a comment creation. | 
Return Value
Inserted comment.
See Also
- interface IComment
- interface ISlide
- class CommentCollection
- namespace Aspose.Slides
- assembly Aspose.Slides