Shape
Overview
Shape is a class in Aspose.Cells FOSS for Python.
Represents a drawing shape (rectangle, oval, text box, arrow, etc.) on
a worksheet.
This class provides 2 methods for working with Shape objects in Python programs.
Available methods include: __init__, copy.
All exported members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Properties: drawing_type, fill, font, hyperlink, is_hidden, is_locked, and 15 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
upper_left_row | `` | Read | Gets the upper left row. |
upper_left_column | `` | Read | Gets the upper left column. |
lower_right_row | `` | Read | Gets the lower right row. |
lower_right_column | `` | Read | Gets the lower right column. |
upper_left_row_offset | `` | Read | Gets the upper left row offset. |
upper_left_column_offset | `` | Read | Gets the upper left column offset. |
lower_right_row_offset | `` | Read | Gets the lower right row offset. |
lower_right_column_offset | `` | Read | Gets the lower right column offset. |
name | `` | Read | Gets the name. |
drawing_type | `` | Read | Gets the drawing type. |
fill | `` | Read | Gets the fill. |
line | `` | Read | Gets the line. |
text | `` | Read | Gets the text. |
font | `` | Read | Gets the font. |
text_horizontal_alignment | `` | Read | Gets the text horizontal alignment. |
text_vertical_alignment | `` | Read | Gets the text vertical alignment. |
is_text_wrapped | `` | Read | Gets the is text wrapped. |
is_locked | `` | Read | Gets the is locked. |
is_hidden | `` | Read | Gets the is hidden. |
placement | `` | Read | Gets the placement. |
hyperlink | `` | Read | Gets the hyperlink. |
Methods
| Signature | Description |
|---|---|
__init__(drawing_type, upper_left_row, upper_left_column, lower_right_row, lower_right_column) | |
copy() | Creates a duplicate of the shape object |