Comment

概述

Comment 是 Aspose.Slides FOSS for Java 的类。. 继承: IComment.

代表一个评论在演示幻灯片上。.

此类提供10种方法,以便在Java程序中使用评论对象。. 可用的方法包括: Comment, getAuthor, getCreatedTime, getParentComment, getPosition, getSlide, getText, remove, setParentComment, setText. 所有公共成员都可以在安装 Aspose.Slides FOSS for Java 包后访问任何 Java 的应用程序。. 属性: author, createdTime, parentComment, position, slide, text.

属性

名称类型Access描述
textString阅读获取文本。.
authorICommentAuthor阅读获取作者。.
slideISlide阅读获取幻灯片。.
positionPointF阅读获取位置。.
createdTimeLocalDateTime阅读获取创建时间。.
parentCommentOptional<IComment>阅读获取父评论。.

方法

Signature描述
Comment(text: String, author: ICommentAuthor, slide: ISlide, position: PointF, createdTime: LocalDateTime)创建一个新的评论。.
getText()String返回文本。.
setText(value: String)设置文本值。.
getAuthor()ICommentAuthor作者回来。.
getSlide()ISlide返回幻灯片。.
getPosition()PointF返回位置。.
getCreatedTime()LocalDateTime返回创造的时间。.
getParentComment()Optional<IComment>回归父母评论。.
setParentComment(parent: IComment)设置父评论的值。.
remove()删除评论从其幻灯片和任何评論序列

看也

 中文