Comment

Overview

Comment is a class in Aspose.Slides FOSS for Java. Inherits from: IComment.

Represents a comment on a presentation slide.

This class provides 10 methods for working with Comment objects in Java programs. Available methods include: Comment, getAuthor, getCreatedTime, getParentComment, getPosition, getSlide, getText, remove, setParentComment, setText. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: author, createdTime, parentComment, position, slide, text.

Properties

NameTypeAccessDescription
textStringReadGets the text.
authorICommentAuthorReadGets the author.
slideISlideReadGets the slide.
positionPointFReadGets the position.
createdTimeLocalDateTimeReadGets the created time.
parentCommentOptional<IComment>ReadGets the parent comment.

Methods

SignatureDescription
Comment(text: String, author: ICommentAuthor, slide: ISlide, position: PointF, createdTime: LocalDateTime)Creates a new comment.
getText()StringReturns the text.
setText(value: String)Sets the text value.
getAuthor()ICommentAuthorReturns the author.
getSlide()ISlideReturns the slide.
getPosition()PointFReturns the position.
getCreatedTime()LocalDateTimeReturns 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

See Also