CommentCollection

CommentCollection

概述

CommentCollection 是Python的 Aspose.Slides FOSS 的类。. 继承: BaseCollection, ICommentCollection.

代表一本作者的评论集。.

此类提供7种方法,用于在Python程序中使用 CommentCollection 对象。. 可用的方法包括: add_comment, clear, find_comment_by_idx, insert_comment, remove, remove_at, to_array. 所有公共成员都可以在安装Python包的 Aspose.Slides FOSS后访问任何 Python应用程序。. 属性: as_i_collection, as_i_enumerable, length.

属性

名称类型Access描述
as_i_collectionlist阅读获取 as i 集合。.
as_i_enumerableAny阅读获取作为 IEnumerable 的.
lengthint阅读返回元素的数量。.

方法

Signature描述
to_array()list['IComment']返回在收藏中代表每一个评论的 IComment 对象列表
add_comment(text, slide, position, creation_time)'IComment'添加评论到作者对该幻灯片的评論集的結尾。.
insert_comment(index, text, slide, position, creation_time)'IComment'将评论放在该作者的评論列表中。.
remove_at(index: int)从收藏中删除指数上位置的评论
remove(comment)取消已提供的评论(及其回复)从收藏中。.
clear()删除所有评论由此作者在所有的幻灯片。.
find_comment_by_idx(idx)Optional['IComment']根据其IDX值(作者单独)找到评论。.

看也

 中文