ShapeCollection
Overview
ShapeCollection is a class in Aspose.Cells FOSS for Python.
Collection of Shape objects on a worksheet.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | `` | Read | Returns the number of shapes in the collection |
Methods
| Signature | Description |
|---|---|
__init__(worksheet) | |
add(drawing_type, upper_left_row, upper_left_column, lower_right_row, lower_right_column) | Adds a shape of the specified type to the worksheet. |
add_text_box(upper_left_row, upper_left_column, lower_right_row, lower_right_column) | Adds a TextBox shape (transparent fill, no border) to the worksheet. |
AddTextBox(upper_left_row, upper_left_column, lower_right_row, lower_right_column) | PascalCase alias of add_text_box(). |
copy(new_worksheet) | Returns a deep copy of this collection bound to new_worksheet. |