ShapeCollection — Aspose.Slides FOSS Python API Reference
ShapeCollection — Represents a collection of shape objects. Inherits from: BaseCollection.
Package: aspose.slides_foss
Constructor
obj = ShapeCollection()Properties
| Property | Type | Access | Description |
|---|---|---|---|
parent_group | IGroupShape | Read-only | |
as_i_collection | list | Read-only | |
as_i_enumerable | Any | Read-only |
Methods
| Method | Returns | Description |
|---|---|---|
to_array() | list[IShape] | |
reorder() | None | |
add_auto_shape() | IAutoShape | |
insert_auto_shape() | IAutoShape | |
add_connector() | IConnector | |
insert_connector() | IConnector | |
index_of(shape: IShape) | int | |
add_picture_frame(shape_type, x, y, width, height, image) | IPictureFrame | |
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 | |
remove_at(index: int) | None | |
remove(shape: IShape) | None | |
clear() | None |