Shape
Overview
Shape is a class in Aspose.Cells FOSS for Java.
Represents a drawing object (auto shape) anchored to a worksheet.
This class declares 14 methods for Shape objects in Java programs.
Available methods include: getAutoShapeType, getGeometryType, getLowerRightColumn, getLowerRightRow, getName, getUpperLeftColumn, getUpperLeftRow, setAutoShapeType, setGeometryType, setLowerRightColumn, setLowerRightRow, setName, and 2 additional methods.
Public members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: autoShapeType, geometryType, lowerRightColumn, lowerRightRow, name, upperLeftColumn, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read/Write | Gets or sets the display name of the shape. |
upperLeftRow | int | Read/Write | Zero-based row index of the upper-left anchor cell. |
upperLeftColumn | int | Read/Write | Zero-based column index of the upper-left anchor cell. |
lowerRightRow | int | Read/Write | Zero-based row index of the lower-right anchor cell. |
lowerRightColumn | int | Read/Write | Zero-based column index of the lower-right anchor cell. |
geometryType | String | Read/Write | Raw DrawingML preset geometry string (e.g. “rect”, “rightArrow”). |
autoShapeType | AutoShapeType | Read/Write | Shape type enum. |
Methods
| Signature | Description |
|---|---|
getName() → String | Gets or sets the display name of the shape. |
setName(value: String) | Sets the name value. |
getUpperLeftRow() → int | Zero-based row index of the upper-left anchor cell. |
setUpperLeftRow(value: int) | Sets the upper left row value. |
getUpperLeftColumn() → int | Zero-based column index of the upper-left anchor cell. |
setUpperLeftColumn(value: int) | Sets the upper left column value. |
getLowerRightRow() → int | Zero-based row index of the lower-right anchor cell. |
setLowerRightRow(value: int) | Sets the lower right row value. |
getLowerRightColumn() → int | Zero-based column index of the lower-right anchor cell. |
setLowerRightColumn(value: int) | Sets the lower right column value. |
getGeometryType() → String | Raw DrawingML preset geometry string (e.g. “rect”, “rightArrow”). |
setGeometryType(value: String) | Sets the geometry type value. |
getAutoShapeType() → AutoShapeType | Shape type enum. |
setAutoShapeType(value: AutoShapeType) | Sets the auto shape type value. |