addComment

addComment(String text, Slide slide, Point2D.Float position, Date creationTime) function

Add new comment at the end of a collection.

Parameters

NameTypeDescription
textStringPlain text of a new comment.
slideSlideSlide in a presentation where to add a new comment.
positionPoint2D.FloatPosition on a slide where to add a new comment.
creationTimeDateTime of a comment creation.

Result

Comment, ModernComment