ICommentCollectionInsertModernComment Method

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

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 22.1.0.0 (22.1)
Syntax
IModernComment InsertModernComment(
	int index,
	string text,
	ISlide slide,
	IShape shape,
	PointF position,
	DateTime creationTime
)

Parameters

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

Return Value

Type: IModernComment
Inserted modern comment.
See Also