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_group | IGroupShape | 仅读取 | 代码的值. |
as_i_collection | list | 仅读取 | 收藏值为_i. |
as_i_enumerable | Any | 仅读取 | 值是可数的. |
方法
| 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 | 执行清晰的操作. |
查看更多
- [Aspose.Slides 斯 Python API参考主页](/slides/python/)
- 企业API参考](https://reference.aspose.com/slides/)