ShapeCollection
Overview
ShapeCollection is a class in Aspose.Cells FOSS for Python.
Collection of Shape objects on a worksheet.
This class provides 5 methods for working with ShapeCollection objects in Python programs.
Available methods include: AddTextBox, __init__, add, add_text_box, copy.
All public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Properties: count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | `` | Read | Gets the count. |
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. |