InsertComment()

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

Insert new comment to a collection at the specified index.

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

Arguments

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

Return Value

Inserted comment.

See Also