insertComment
insertComment(int index, String text, Slide slide, Point2D.Float position, Date creationTime) function
Insert new comment to a collection at the specified index.
Parameters
| Name | Type | Description |
|---|---|---|
| index | int | Index of the element in a collection at which comment should be inserted. |
| text | String | Plain text of a new comment. |
| slide | Slide | Slide in a presentation where to add a new comment. |
| position | Point2D.Float | Position on a slide where to add a new comment. |
| creationTime | Date | Time of a comment creation. |