Picture
Overview
Picture is a class in Aspose.Cells FOSS for Java.
Represents an embedded image in a worksheet.
This class declares 14 methods for Picture objects in Java programs.
Available methods include: getContentType, getData, getImageType, getLowerRightColumn, getLowerRightRow, getName, getUpperLeftColumn, getUpperLeftRow, setData, setLowerRightColumn, setLowerRightRow, setName, and 2 additional methods.
Public 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.
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 | Image type detected from the binary data signature. |
data | byte[] | Read/Write | Gets or sets 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. |