IPPImage — Aspose.Slides FOSS Java API Reference
IPPImage — Represents an image in a presentation.
Package: org.aspose.slides.foss
Properties
| Property | Type | Access | Description |
|---|---|---|---|
binaryData | byte[] | Read/Write | |
image | IImage | Read/Write | |
contentType | String | Read/Write | |
width | int | Read/Write | |
height | int | Read/Write | |
x | int | Read/Write | |
y | int | Read/Write |
Methods
| Method | Returns | Description |
|---|---|---|
getBinaryData() | byte[] | Returns the copy of an image’s data. |
getImage() | IImage | Returns the copy of an image. |
getContentType() | String | Returns a MIME type of an image. |
getWidth() | int | Returns the width of an image. |
getHeight() | int | Returns the height of an image. |
getX() | int | Returns the X-offset of an image. |
getY() | int | Returns the Y-offset of an image. |
replaceImage(byte[] newImageData) | void | Replaces the image data with new raw binary data. |
replaceImage(IImage newImage) | void | Replaces the image with the specified IImage. |
replaceImage(IPPImage newImage) | void | Replaces the image with another presentation image. |