PPImages

Približni podaci

PPImage je klasa u Aspose.Slides FOSS za Java. Naslijedi od: ゚IPPImage` .

Predstavlja sliku u prezentaciji.

Oznake i značajke

NameTypeAccessDescription
binaryDatabyte[]ReadProperty holds the image’s binary data
imageIImageReadProperty provides access to the image as IImage
contentTypeStringReadProperty stores the image’s MIME type
widthintReadProperty gives the image width in pixels
heightintRead
xintReadProperty is always 0, representing the X offset
yintRead

Metoda za primjenu

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