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

NameTypeAccessDescription
upper_left_row``ReadGets the upper left row.
upper_left_column``ReadGets the upper left column.
lower_right_row``ReadGets the lower right row.
lower_right_column``ReadGets the lower right column.
upper_left_row_offset``ReadGets the upper left row offset.
upper_left_column_offset``ReadGets the upper left column offset.
lower_right_row_offset``ReadGets the lower right row offset.
lower_right_column_offset``ReadGets the lower right column offset.
name``ReadGets the name.
drawing_type``ReadGets the drawing type.
fill``ReadGets the fill.
line``ReadGets the line.
text``ReadGets the text.
font``ReadGets the font.
text_horizontal_alignment``ReadGets the text horizontal alignment.
text_vertical_alignment``ReadGets the text vertical alignment.
is_text_wrapped``ReadGets the is text wrapped.
is_locked``ReadGets the is locked.
is_hidden``ReadGets the is hidden.
placement``ReadGets the placement.
hyperlink``ReadGets the hyperlink.

Methods

SignatureDescription
__init__(drawing_type, upper_left_row, upper_left_column, lower_right_row, lower_right_column)
copy()Creates a duplicate of the shape object

See Also