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

# PictureModel

## Overview

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

Internal model for an embedded picture/image.

This class provides 24 methods for working with PictureModel objects in Java programs.
Available methods include: `getData`, `getExtension`, `getLowerRightColumn`, `getLowerRightColumnOffset`, `getLowerRightRow`, `getLowerRightRowOffset`, `getName`, `getOriginalRelId`, `getUpperLeftColumn`, `getUpperLeftColumnOffset`, `getUpperLeftRow`, `getUpperLeftRowOffset`, and 12 additional methods.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: `data`, `extension`, `lowerRightColumn`, `lowerRightColumnOffset`, `lowerRightRow`, `lowerRightRowOffset`, and 6 more.

## Description

`PictureModel` is a class in the Aspose.Cells FOSS library for Java that exposes 24 methods and 12 properties for programmatic use.

Core capabilities include: `string`; `long`; `long`. These operations enable developers to integrate picturemodel 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. |
| `data` | `byte[]` | Read | Gets the data. |
| `extension` | `String` | Read | Gets the extension. |
| `originalRelId` | `String` | Read | Original relationship ID from the loaded file, for round-trip renaming. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getName()` → `String` | Returns the name. |
| `setName(name: String)` | Sets the name value. |
| `getUpperLeftRow()` → `int` | Returns the upper left row. |
| `setUpperLeftRow(upperLeftRow: int)` | Sets the upper left row value. |
| `getUpperLeftColumn()` → `int` | Returns the upper left column. |
| `setUpperLeftColumn(upperLeftColumn: int)` | Sets the upper left column value. |
| `getUpperLeftRowOffset()` → `long` | Returns the upper left row offset. |
| `setUpperLeftRowOffset(upperLeftRowOffset: long)` | Sets the upper left row offset value. |
| `getUpperLeftColumnOffset()` → `long` | Returns the upper left column offset. |
| `setUpperLeftColumnOffset(upperLeftColumnOffset: long)` | Sets the upper left column offset value. |
| `getLowerRightRow()` → `int` | Returns the lower right row. |
| `setLowerRightRow(lowerRightRow: int)` | Sets the lower right row value. |
| `getLowerRightColumn()` → `int` | Returns the lower right column. |
| `setLowerRightColumn(lowerRightColumn: int)` | Sets the lower right column value. |
| `getLowerRightRowOffset()` → `long` | Returns the lower right row offset. |
| `setLowerRightRowOffset(lowerRightRowOffset: long)` | Sets the lower right row offset value. |
| `getLowerRightColumnOffset()` → `long` | Returns the lower right column offset. |
| `setLowerRightColumnOffset(lowerRightColumnOffset: long)` | Sets the lower right column offset value. |
| `getData()` → `byte[]` | Returns the data. |
| `setData(data: byte[])` | Sets the data value. |
| `getExtension()` → `String` | Returns the extension. |
| `setExtension(extension: String)` | Sets the extension value. |
| `getOriginalRelId()` → `String` | Original relationship ID from the loaded file, for round-trip renaming. |
| `setOriginalRelId(originalRelId: String)` | Sets the original rel id value. |

## 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/picture/)