Shape

Overview

Shape is a class in Aspose.Cells FOSS for Java.

Represents a drawing object (auto shape) anchored to a worksheet.

Properties

NameTypeAccessDescription
nameStringReadGets or sets the display name of the shape.
upperLeftRowintReadZero-based row index of the upper-left anchor cell.
upperLeftColumnintReadZero-based column index of the upper-left anchor cell.
lowerRightRowintReadZero-based row index of the lower-right anchor cell.
lowerRightColumnintReadZero-based column index of the lower-right anchor cell.
geometryTypeStringReadRaw DrawingML preset geometry string (e.g.
autoShapeTypeAutoShapeTypeReadShape type enum.

Methods

SignatureDescription
getName()StringGets or sets the display name of the shape.
setName(value: String)
getUpperLeftRow()intZero-based row index of the upper-left anchor cell.
setUpperLeftRow(value: int)
getUpperLeftColumn()intZero-based column index of the upper-left anchor cell.
setUpperLeftColumn(value: int)
getLowerRightRow()intZero-based row index of the lower-right anchor cell.
setLowerRightRow(value: int)
getLowerRightColumn()intZero-based column index of the lower-right anchor cell.
setLowerRightColumn(value: int)
getGeometryType()StringRaw DrawingML preset geometry string (e.g.
setGeometryType(value: String)
getAutoShapeType()AutoShapeTypeShape type enum.
setAutoShapeType(value: AutoShapeType)

See Also