IComment

Overview

IComment is a interface in Aspose.Slides FOSS for Java.

Represents a comment on a presentation slide.

This interface provides 9 methods for working with IComment objects in Java programs. Available methods include: 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
textStringReadReturns the comment text.
authorICommentAuthorReadReturns the author of this comment.
slideISlideReadReturns the slide this comment belongs to.
positionPointFReadReturns the position of the comment.
createdTimeLocalDateTimeReadReturns the creation date/time.
parentCommentOptional<IComment>ReadReturns the parent comment, if any.

Methods

SignatureDescription
getText()StringReturns the comment text.
setText(value: String)Sets the comment text.
getAuthor()ICommentAuthorReturns the author of this comment.
getSlide()ISlideReturns the slide this comment belongs to.
getPosition()PointFReturns the position of the comment.
getCreatedTime()LocalDateTimeReturns the creation date/time.
getParentComment()Optional<IComment>Returns the parent comment, if any.
setParentComment(parent: IComment)Sets the parent comment.
remove()Removes this comment and all its replies from the parent collection.

See Also