IComment
概述
IComment 是 Aspose.Slides FOSS for Java 的界面。.
代表一个评论在演示幻灯片上。.
此界面提供9种方法,以便在Java程序中使用 IComment 对象。. 可用的方法包括: getAuthor, getCreatedTime, getParentComment, getPosition, getSlide, getText, remove, setParentComment, setText. 所有公共成员都可以在安装 Aspose.Slides FOSS for Java 包后访问任何 Java 的应用程序。. 属性: author, createdTime, parentComment, position, slide, text.
属性
| 名称 | 类型 | Access | 描述 |
|---|---|---|---|
text | String | 阅读 | 返回评论文本。. |
author | ICommentAuthor | 阅读 | 回复这篇评论的作者。. |
slide | ISlide | 阅读 | 返回此评论属于的幻灯片。. |
position | PointF | 阅读 | 返回评论的位置。. |
createdTime | LocalDateTime | 阅读 | 返回创建日期/时间。. |
parentComment | Optional<IComment> | 阅读 | 回归父母的评论,如果有的话。. |
方法
| Signature | 描述 |
|---|---|
getText() → String | 返回评论文本。. |
setText(value: String) | 设置注释文本。. |
getAuthor() → ICommentAuthor | 回复这篇评论的作者。. |
getSlide() → ISlide | 返回此评论属于的幻灯片。. |
getPosition() → PointF | 返回评论的位置。. |
getCreatedTime() → LocalDateTime | 返回创建日期/时间。. |
getParentComment() → Optional<IComment> | 回归父母的评论,如果有的话。. |
setParentComment(parent: IComment) | 设置父评论。. |
remove() | 删除此评论及其所有回复从父母收藏。. |