AddComment()

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

Add new comment at the end of a collection.

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

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