CommentAuthorCollection

CommentAuthorCollection

概述

CommentAuthorCollection 是Python的 Aspose.Slides FOSS 的类。. 继承: BaseCollection, ICommentAuthorCollection.

代表评论作者的一系列。.

此类提供7种方法,用于在Python程序中使用 CommentAuthorCollection 对象。. 可用的方法包括: add_author, clear, find_by_name, find_by_name_and_initials, 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描述
add_author(name: str, initials: str)'ICommentAuthor'收藏结束时添加新作家。.
to_array()List['ICommentAuthor']返回所有评论作者作为列表
find_by_name(name: str)List['ICommentAuthor']返回与所提供的行相匹配的作者列表
find_by_name_and_initials(name: str, initials: str)List['ICommentAuthor']返回作者匹配姓名和初始字符
remove_at(index: int)删除指定零基于指数的作者
remove(author: 'ICommentAuthor')将指定作者从收藏中删除
clear()将所有作者从收藏中删除

看也

 中文