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

PropertyTypeAccessDescription
parent_groupIGroupShapeRead-only
as_i_collectionlistRead-only
as_i_enumerableAnyRead-only

Methods

MethodReturnsDescription
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

See Also