IShapeCollection

IShapeCollection — Aspose.Slides FOSS Python API Reference

概述

IShapeCollection 代表了 i形状对象的集合.浏览下面表中的属性和方法,以了解此类型的完整公共API表面.这里列出的所有成员都是稳定的公开API的一部分,可能用于针对FOSS版本的生产代码.请参阅包文档获得安装说明以及相关类别的全清单.

Package: aspose.slides_foss


描述情况

IShapeCollection 是Python的Aspose.Slides FOSS库中的一个类,它暴露了23种方法和3个属性用于编程使用. 它扩展了 ABC, 继承了其母型的共享功能.

核心能力包括: igroupshape; list; list[ishape].这些操作使开发人员能够直接将speccollection功能集成到Python应用程序中.

属性

Property类型Access描述情况
parent_groupIGroupShape仅读取代码的值.
as_i_collectionlist仅读取收藏值为_i.
as_i_enumerableAny仅读取值是可数的.

方法

Method收益率描述情况
to_array()list[IShape]将该对象转换为一个 _ 阵列表示.
reorder(index, shape)None执行重新订单操作.
add_auto_shape(shape_type, x, y, width, height)IAutoShape添加一个_auto_shape 这个集合.
insert_auto_shape(index, shape_type, x, y, width, height)IAutoShape执行 insert_auto_shape操作.
add_connector(shape_type, x, y, width, height)IConnector将一个 _ 连接器添加到这个集合.
insert_connector(index, shape_type, x, y, width, height)IConnector执行 insert_connector 的操作.
index_of(shape)int执行操作的index_of.
add_picture_frame(shape_type, x, y, width, height, image)IPictureFrame将一个_picture_frame添加到此集合中.
insert_picture_frame(index, shape_type, x, y, width, height, image)IPictureFrame执行插入_图片_框架操作.
add_table(x, y, column_widths, row_heights)ITable将一个表添加到这个集合中.
insert_table(index, x, y, column_widths, row_heights)ITable执行 insert_table操作.
remove_at(index)None从这个集合中删除指定的 _at.
remove(shape)None从这个集合中删除指定.
clear()None执行清晰的操作.

查看更多

 中文