AddComment()

CommentCollection::AddComment(System::String, System::SharedPtr<ISlide>, System::Drawing::PointF, System::DateTime) method

Add new comment at the end of a collection.

System::SharedPtr<IComment> Aspose::Slides::CommentCollection::AddComment(System::String text, System::SharedPtr<ISlide> slide, System::Drawing::PointF position, System::DateTime creationTime) override

Arguments

ParameterTypeDescription
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

Added comment.

See Also