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

# Picture

## Overview

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

Represents a picture (image) anchored to a worksheet. Pictures allow you to embed images directly into Excel worksheets. Supported image formats include JPEG, PNG, GIF, and BMP. The image format is automatically detected from the file extension or data magic bytes. Pictures are positioned by specifying anchor coordinates and can be resized by adjusting the anchor points. var workbook = new Workbook(); var worksheet = workbook.Worksheets[0]; // Add a picture from a file byte[] imageData = File.ReadAllBytes("logo.png"); int pictureIndex = worksheet.Pictures.Add(5, 5, 10, 10, imageData); var picture = worksheet.Pictures[pictureIndex]; picture.Name = "Company Logo";

Properties: `Data`, `ImageType`, `LowerRightColumn`, `LowerRightRow`, `Name`, `UpperLeftColumn`, and 1 more.

## Description

`Picture` is a class in the Aspose.Cells FOSS library for .NET that exposes 0 methods and 7 properties for programmatic use.

The class also provides the `ImageType` property (gets the image type).

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Name` | `string` | Read/Write | Gets or sets the name. |
| `UpperLeftRow` | `int` | Read/Write | Gets or sets the upper left row. |
| `UpperLeftColumn` | `int` | Read/Write | Gets or sets the upper left column. |
| `LowerRightRow` | `int` | Read/Write | Gets or sets the lower right row. |
| `LowerRightColumn` | `int` | Read/Write | Gets or sets the lower right column. |
| `ImageType` | `ImageType` | Read | Gets the image type. |
| `Data` | `byte[]` | Read/Write | Gets or sets the data. |

## See Also

- [Aspose.Cells for .NET — Enterprise API Reference](https://reference.aspose.com/cells/net/)
- [Aspose.Cells for .NET — Enterprise API Reference](https://reference.aspose.com/cells/net/aspose.cells.drawing/picture/)