CommentCollectionInsertComment Method

Insert new comment to a collection at the specified index.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntax
public IComment InsertComment(
	int index,
	string text,
	ISlide slide,
	PointF position,
	DateTime creationTime
)

Parameters

index
Type: SystemInt32
Index of the element in a collection at which comment should be inserted.
text
Type: SystemString
Plain text of a new comment.
slide
Type: Aspose.SlidesISlide
Slide in a presentation where to add a new comment.
position
Type: System.DrawingPointF
Position on a slide where to add a new comment.
creationTime
Type: SystemDateTime
Time of a comment creation.

Return Value

Type: IComment
Inserted comment.

Implements

ICommentCollectionInsertComment(Int32, String, ISlide, PointF, DateTime)
See Also