RowCollection

RowCollection

概述

RowCollection 是 Aspose.Slides FOSS 中用于 Python 的类。继承自:BaseCollection、IRowCollection。

表示表格行集合。

此类提供 3 种方法,用于在 Python 程序中处理 RowCollection 对象。可用方法包括:add_clone、insert_clone、remove_at。安装 Aspose.Slides FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:as_i_collection、as_i_enumerable、length。

属性

名称类型访问描述
as_i_collectionlist读取获取 as i 集合。
as_i_enumerableAny读取获取 as i enumerable。
lengthint读取返回元素的数量。

方法

签名描述
add_clone(templ, with_attached_rows) → list[IRow]添加模板行的克隆,可选地包括附加行,并返回新行
insert_clone(index, templ, with_attached_rows) → list[IRow]在给定索引处插入克隆的模板行,可选地包括附加行,并返回插入的行
remove_at(first_row_index, with_attached_rows)

另请参阅

 中文