InsertModernComment()

ICommentCollection::InsertModernComment(int32_t, System::String, System::SharedPtr<ISlide>, System::SharedPtr<IShape>, System::Drawing::PointF, System::DateTime) method

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

virtual System::SharedPtr<IModernComment> Aspose::Slides::ICommentCollection::InsertModernComment(int32_t index, System::String text, System::SharedPtr<ISlide> slide, System::SharedPtr<IShape> shape, System::Drawing::PointF position, System::DateTime creationTime)=0

Arguments

ParameterTypeDescription
indexint32_tIndex of the element in a collection at which modern comment should be inserted.
textSystem::StringPlain text of a new modern comment.
slideSystem::SharedPtr<ISlide>Slide in a presentation where to add a new modern comment.
shapeSystem::SharedPtr<IShape>Shape on a slide to which a new modern comment is associated.
positionSystem::Drawing::PointFPosition on a slide where to add a new modern comment.
creationTimeSystem::DateTimeTime of a modern comment creation.

Return Value

Inserted modern comment.

See Also