PPImage
Overview
PPImage is a class in Aspose.Slides FOSS for Java.
Inherits from: IPPImage.
Represents an image in a presentation.
This class declares 12 methods for PPImage objects in Java programs.
Available methods include: PPImage, getBinaryData, getContentType, getHeight, getImage, getWidth, getX, getY, initInternal, replaceImage.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: binaryData, contentType, height, image, width, x, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
binaryData | byte[] | Read | {@inheritDoc} / |
image | IImage | Read | {@inheritDoc} / |
contentType | String | Read | {@inheritDoc} / |
width | int | Read | {@inheritDoc} / |
height | int | Read | {@inheritDoc} / |
x | int | Read | {@inheritDoc} * @return always {@code 0} / |
y | int | Read | {@inheritDoc} * @return always {@code 0} / |
Methods
| Signature | Description |
|---|---|
PPImage() | Creates an uninitialized {@code PPImage}. |
initInternal(pkg: OpcPackage, partName: String, imageData: byte[], contentType: String) | 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 {@code 0} / |
getY() → int | {@inheritDoc} * @return always {@code 0} / |
replaceImage(newImageData: byte[]) | {@inheritDoc} / |
replaceImage(newImage: IImage) | {@inheritDoc} / |
replaceImage(newImage: IPPImage) | {@inheritDoc} / |