PPImage

Overview

PPImage is a class in Aspose.Slides FOSS for Java. Inherits from: IPPImage.

Represents an image in a presentation.

This class provides 12 methods for working with PPImage objects in Java programs. Available methods include: PPImage, getBinaryData, getContentType, getHeight, getImage, getWidth, getX, getY, initInternal, replaceImage. All 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

NameTypeAccessDescription
binaryDatabyte[]Read{@inheritDoc}
/
imageIImageRead{@inheritDoc}
/
contentTypeStringRead{@inheritDoc}
/
widthintRead{@inheritDoc}
/
heightintRead{@inheritDoc}
/
xintRead{@inheritDoc}
@return always {@code 0}
/
yintRead{@inheritDoc}
@return always {@code 0}
/

Methods

SignatureDescription
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}
/

See Also

 English