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描述
textString阅读返回评论文本。.
authorICommentAuthor阅读回复这篇评论的作者。.
slideISlide阅读返回此评论属于的幻灯片。.
positionPointF阅读返回评论的位置。.
createdTimeLocalDateTime阅读返回创建日期/时间。.
parentCommentOptional<IComment>阅读回归父母的评论,如果有的话。.

方法

Signature描述
getText()String返回评论文本。.
setText(value: String)设置注释文本。.
getAuthor()ICommentAuthor回复这篇评论的作者。.
getSlide()ISlide返回此评论属于的幻灯片。.
getPosition()PointF返回评论的位置。.
getCreatedTime()LocalDateTime返回创建日期/时间。.
getParentComment()Optional<IComment>回归父母的评论,如果有的话。.
setParentComment(parent: IComment)设置父评论。.
remove()删除此评论及其所有回复从父母收藏。.

看也

 中文