IShapeCollection — Aspose.Slides FOSS Python API Reference
Overview
IShapeCollection represents a collection of i shape objects. Browse the properties and methods in the tables below to understand the complete public API surface of this type. All members listed here are part of the stable public API and may be used in production code targeting the FOSS edition. Refer to the package documentation for installation instructions and a complete list of related types.
Package: aspose.slides_foss
Description
IShapeCollection is a class in the Aspose.Slides FOSS library for Python that exposes 23 methods and 3 properties for programmatic use. It extends ABC, inheriting shared functionality from its parent type.
Core capabilities include: igroupshape; list; list[ishape]. These operations enable developers to integrate ishapecollection functionality directly into Python applications.
Properties
| Property | Type | Access | Description |
|---|---|---|---|
parent_group | IGroupShape | Read-only | The parent_group value. |
as_i_collection | list | Read-only | The as_i_collection value. |
as_i_enumerable | Any | Read-only | The as_i_enumerable value. |
Methods
| Method | Returns | Description |
|---|---|---|
to_array() | list[IShape] | Converts this object to a _array representation. |
reorder(index, shape) | None | Performs the reorder operation. |
add_auto_shape(shape_type, x, y, width, height) | IAutoShape | Adds a _auto_shape to this collection. |
insert_auto_shape(index, shape_type, x, y, width, height) | IAutoShape | Performs the insert_auto_shape operation. |
add_connector(shape_type, x, y, width, height) | IConnector | Adds a _connector to this collection. |
insert_connector(index, shape_type, x, y, width, height) | IConnector | Performs the insert_connector operation. |
index_of(shape) | int | Performs the index_of operation. |
add_picture_frame(shape_type, x, y, width, height, image) | IPictureFrame | Adds a _picture_frame to this collection. |
insert_picture_frame(index, shape_type, x, y, width, height, image) | IPictureFrame | Performs the insert_picture_frame operation. |
add_table(x, y, column_widths, row_heights) | ITable | Adds a _table to this collection. |
insert_table(index, x, y, column_widths, row_heights) | ITable | Performs the insert_table operation. |
remove_at(index) | None | Removes the specified _at from this collection. |
remove(shape) | None | Removes the specified from this collection. |
clear() | None | Performs the clear operation. |