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 declares 2 methods for Shape objects in Python programs. Available methods include: __init__, copy. Public 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-Read/WriteGets or sets the upper left row.
upper_left_column-Read/WriteGets or sets the upper left column.
lower_right_row-Read/WriteGets or sets the lower right row.
lower_right_column-Read/WriteGets or sets the lower right column.
upper_left_row_offset-Read/WriteGets or sets the upper left row offset.
upper_left_column_offset-Read/WriteGets or sets the upper left column offset.
lower_right_row_offset-Read/WriteGets or sets the lower right row offset.
lower_right_column_offset-Read/WriteGets or sets 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)Calls init(drawing_type, upper_left_row, upper_left_column, lower_right_row, lower_right_column) on this Shape instance.
copy()Calls copy on this Shape instance.

See Also

 English