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

# Picture

## Overview

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

Represents an embedded image in a worksheet.

This class provides 14 methods for working with Picture objects in Java programs.
Available methods include: `getContentType`, `getData`, `getImageType`, `getLowerRightColumn`, `getLowerRightRow`, `getName`, `getUpperLeftColumn`, `getUpperLeftRow`, `setData`, `setLowerRightColumn`, `setLowerRightRow`, `setName`, and 2 additional methods.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: `contentType`, `data`, `imageType`, `lowerRightColumn`, `lowerRightRow`, `name`, and 2 more.

## Description

`Picture` is a class in the Aspose.Cells FOSS library for Java that exposes 14 methods and 8 properties for programmatic use.

Core capabilities include: `string`; `imagetype`; `byte[]`. These operations enable developers to integrate picture 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. |
| `lowerRightRow` | `int` | Read | Gets the lower right row. |
| `lowerRightColumn` | `int` | Read | Gets the lower right column. |
| `imageType` | `ImageType` | Read | Image type detected from the binary data signature. |
| `data` | `byte[]` | Read | Gets the data. |
| `contentType` | `String` | Read | MIME content type derived from 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(row: int)` | Sets the upper left row value. |
| `getUpperLeftColumn()` → `int` | Returns the upper left column. |
| `setUpperLeftColumn(col: int)` | Sets the upper left column value. |
| `getLowerRightRow()` → `int` | Returns the lower right row. |
| `setLowerRightRow(row: int)` | Sets the lower right row value. |
| `getLowerRightColumn()` → `int` | Returns the lower right column. |
| `setLowerRightColumn(col: int)` | Sets the lower right column value. |
| `getImageType()` → `ImageType` | Image type detected from the binary data signature. |
| `getData()` → `byte[]` | Returns the data. |
| `setData(data: byte[])` | Sets the data value. |
| `getContentType()` → `String` | MIME content type derived from 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/picture/)