PictureCollection
Overview
PictureCollection is a class in Aspose.Cells FOSS for Java.
Collection of embedded pictures on a worksheet.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read |
Methods
| Signature | Description |
|---|---|
getCount() → int | |
get(index: int) → Picture | |
add(upperLeftRow: int, upperLeftColumn: int, lowerRightRow: int, lowerRightColumn: int, imageData: byte[]) → int | Adds a picture from raw bytes. |
add(upperLeftRow: int, upperLeftColumn: int, lowerRightRow: int, lowerRightColumn: int, stream: InputStream) → int | Adds a picture from an InputStream. |
add(upperLeftRow: int, upperLeftColumn: int, lowerRightRow: int, lowerRightColumn: int, fileName: String) → int | Adds a picture from a file path. |
removeAt(index: int) | |
detectImageType(data: byte[]) → ImageType | |
extensionFromData(data: byte[]) → String | |
contentTypeFromExtension(ext: String) → String |