PPImage — Aspose.Slides FOSS Java API Reference
PPImage — Represents an image in a presentation. Inherits from: IPPImage.
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 |
|---|---|---|
initInternal(OpcPackage pkg, String partName, byte[] imageData, String contentType) | void | Internal initialization with OPC package reference. |
getBinaryData() | byte[] | {@inheritDoc} / |
getImage() | IImage | {@inheritDoc} / |
getContentType() | String | {@inheritDoc} / |
getWidth() | int | {@inheritDoc} / |
getHeight() | int | {@inheritDoc} / |
getX() | int | {@inheritDoc} @return always 0 / |
getY() | int | {@inheritDoc} @return always 0 / |
replaceImage(byte[] newImageData) | void | {@inheritDoc} / |
replaceImage(IImage newImage) | void | {@inheritDoc} / |
replaceImage(IPPImage newImage) | void | {@inheritDoc} / |