---
Product: Aspose.Cells
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/java/ShapeModel
---

# ShapeModel

## Overview

`ShapeModel` is a class in Aspose.Cells FOSS for Java.

Internal model for a drawing object (auto shape) anchored to a worksheet.

This class provides 32 methods for working with ShapeModel objects in Java programs.
Available methods include: `getEmbeddedImageData`, `getExtentCx`, `getExtentCy`, `getExtraDrawingRels`, `getGeometryType`, `getLowerRightColumn`, `getLowerRightColumnOffset`, `getLowerRightRow`, `getLowerRightRowOffset`, `getName`, `getRawElementXml`, `getRawStyleXml`, and 20 additional methods.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: `embeddedImageData`, `extentCx`, `extentCy`, `extraDrawingRels`, `geometryType`, `lowerRightColumn`, and 11 more.

## Description

`ShapeModel` is a class in the Aspose.Cells FOSS library for Java that exposes 32 methods and 17 properties for programmatic use.

Core capabilities include: `string`; `long`; `long`. These operations enable developers to integrate shapemodel functionality directly into Java applications.

The class also provides the `name` property (gets the name), the `upperLeftRow` property (gets the upper left row), the `upperLeftColumn` property (gets the upper left column).

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `name` | `String` | Read | Gets the name. |
| `upperLeftRow` | `int` | Read | Gets the upper left row. |
| `upperLeftColumn` | `int` | Read | Gets the upper left column. |
| `upperLeftRowOffset` | `long` | Read | Gets the upper left row offset. |
| `upperLeftColumnOffset` | `long` | Read | Gets the upper left column offset. |
| `lowerRightRow` | `int` | Read | Gets the lower right row. |
| `lowerRightColumn` | `int` | Read | Gets the lower right column. |
| `lowerRightRowOffset` | `long` | Read | Gets the lower right row offset. |
| `lowerRightColumnOffset` | `long` | Read | Gets the lower right column offset. |
| `extentCx` | `long` | Read | Gets the extent cx. |
| `extentCy` | `long` | Read | Gets the extent cy. |
| `geometryType` | `String` | Read | Gets the geometry type. |
| `rawStyleXml` | `String` | Read | Gets the raw style xml. |
| `rawTxBodyXml` | `String` | Read | Gets the raw tx body xml. |
| `rawElementXml` | `String` | Read | Gets the raw element xml. |
| `extraDrawingRels` | `List` | Read | Gets the extra drawing rels. |
| `embeddedImageData` | `java.util.Map` | Read | Gets the embedded image data. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getName()` → `String` | Returns the name. |
| `setName(name: String)` | Sets the name value. |
| `getUpperLeftRow()` → `int` | Returns the upper left row. |
| `setUpperLeftRow(v: int)` | Sets the upper left row value. |
| `getUpperLeftColumn()` → `int` | Returns the upper left column. |
| `setUpperLeftColumn(v: int)` | Sets the upper left column value. |
| `getUpperLeftRowOffset()` → `long` | Returns the upper left row offset. |
| `setUpperLeftRowOffset(v: long)` | Sets the upper left row offset value. |
| `getUpperLeftColumnOffset()` → `long` | Returns the upper left column offset. |
| `setUpperLeftColumnOffset(v: long)` | Sets the upper left column offset value. |
| `getLowerRightRow()` → `int` | Returns the lower right row. |
| `setLowerRightRow(v: int)` | Sets the lower right row value. |
| `getLowerRightColumn()` → `int` | Returns the lower right column. |
| `setLowerRightColumn(v: int)` | Sets the lower right column value. |
| `getLowerRightRowOffset()` → `long` | Returns the lower right row offset. |
| `setLowerRightRowOffset(v: long)` | Sets the lower right row offset value. |
| `getLowerRightColumnOffset()` → `long` | Returns the lower right column offset. |
| `setLowerRightColumnOffset(v: long)` | Sets the lower right column offset value. |
| `getExtentCx()` → `long` | Returns the extent cx. |
| `setExtentCx(v: long)` | Sets the extent cx value. |
| `getExtentCy()` → `long` | Returns the extent cy. |
| `setExtentCy(v: long)` | Sets the extent cy value. |
| `getGeometryType()` → `String` | Returns the geometry type. |
| `setGeometryType(v: String)` | Sets the geometry type value. |
| `getRawStyleXml()` → `String` | Returns the raw style xml. |
| `setRawStyleXml(v: String)` | Sets the raw style xml value. |
| `getRawTxBodyXml()` → `String` | Returns the raw tx body xml. |
| `setRawTxBodyXml(v: String)` | Sets the raw tx body xml value. |
| `getRawElementXml()` → `String` | Returns the raw element xml. |
| `setRawElementXml(v: String)` | Sets the raw element xml value. |
| `getExtraDrawingRels()` → `List` | Returns the extra drawing rels. |
| `getEmbeddedImageData()` → `java.util.Map` | Returns the embedded image data. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)
- [Aspose.Cells for Java — Enterprise API Reference](https://reference.aspose.com/cells/java/com.aspose.cells/shape/)