PPGambar

Pengamatan umum

PPImage adalah kelas di Aspose.Slides FOSS untuk Java. Warisan dari: ゚IPPImage` .

Menampilkan gambar dalam presentasi.

Sifat-sifatnya

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

Metode-metode yang digunakan

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}
/
 Bahasa Indonesia