Comment
Vue de l’ensemble
‘Comment’ est une classe dans Aspose.Slides FOSS pour Java.Déduit de: ‘IComment’.
Il y a un commentaire sur une présentation slide.
Cette classe fournit 10 méthodes pour travailler avec des objets de commentaire dans les programmes Java. Les méthodologies disponibles comprennent: ‘Comment’, ‘getAuthor’, getCreatedTime', ‘getParentCommence’, 'getPosition', ’getSlide', ‚getText, ‘remove’, ‘‘setParentsComments, 'setTeXT'. Tous les membres publics sont accessibles à toute application Java après l'installation du package Java Aspose.Sliades FOSS. Propriétés:author., 'createdtime,, ‘parentKomment; 'position ; ‘slide` et ’text’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
text | String | Read | Gets the text. |
author | ICommentAuthor | Read | Gets the author. |
slide | ISlide | Read | Gets the slide. |
position | PointF | Read | Gets the position. |
createdTime | LocalDateTime | Read | Gets the created time. |
parentComment | Optional<IComment> | Read | Gets the parent comment. |
méthodes
| Signature | Description |
|---|---|
Comment(text: String, author: ICommentAuthor, slide: ISlide, position: PointF, createdTime: LocalDateTime) | Creates a new comment. |
getText() → String | Returns the text. |
setText(value: String) | Sets the text value. |
getAuthor() → ICommentAuthor | Returns the author. |
getSlide() → ISlide | Returns the slide. |
getPosition() → PointF | Returns the position. |
getCreatedTime() → LocalDateTime | Returns the created time. |
getParentComment() → Optional<IComment> | Returns the parent comment. |
setParentComment(parent: IComment) | Sets the parent comment value. |
remove() | Deletes the comment from its slide and any comment hierarchy |
Voir aussi
- Aspose.Slides - référence API d’entreprise