PictureModel
Overview
PictureModel is a class in Aspose.Cells FOSS for .NET.
Represents the internal model for an image (picture) anchored to a worksheet. Row and column values are zero-based. EMU offset values are in English Metric Units.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Name | string | Read/Write | Gets or sets the name identifier of the picture |
UpperLeftRow | int | Read/Write | |
UpperLeftColumn | int | Read/Write | Gets or sets the zero‑based column index of the picture’s upper‑left corner |
UpperLeftColumnOffset | long | Read/Write | Gets or sets the offset in EMUs from the start of the upper‑left column |
UpperLeftRowOffset | long | Read/Write | |
LowerRightRow | int | Read/Write | |
LowerRightColumn | int | Read/Write | Gets or sets the zero‑based column index of the picture’s lower‑right corner |
LowerRightColumnOffset | long | Read/Write | Gets or sets the offset in EMUs from the start of the lower‑right column |
LowerRightRowOffset | long | Read/Write | |
ExtentCx | long | Read/Write | Gets or sets the picture’s width in EMUs |
ExtentCy | long | Read/Write | Gets or sets the picture’s height in EMUs |
ImageExtension | string | Read/Write | Gets or sets the file extension (e.g., “png”) of the picture data |
ImageData | byte[] | Read/Write | Gets or sets the binary image data of the picture |
Methods
| Signature | Description |
|---|---|
PictureModel() |