PPImage
Panoramica
PPImage è una classe in Aspose.Slides FOSS per Java. Eredita da: IPPImage.
Rappresenta un’immagine in una presentazione.
Questa classe fornisce 12 metodi per lavorare con oggetti PPImage nei programmi Java. I metodi disponibili includono: PPImage, getBinaryData, getContentType, getHeight, getImage, getWidth, getX, getY, initInternal, replaceImage. Tutti i membri pubblici sono accessibili a qualsiasi applicazione Java dopo aver installato il pacchetto Aspose.Slides FOSS per Java. Proprietà: binaryData, contentType, height, image, width, x, e 1 altro.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
binaryData | byte[] | Lettura | {@inheritDoc} / |
image | IImage | Lettura | {@inheritDoc} / |
contentType | String | Lettura | {@inheritDoc} / |
width | int | Lettura | {@inheritDoc} / |
height | int | Lettura | {@inheritDoc} / |
x | int | Lettura | {@inheritDoc} @return sempre {@code 0} / |
y | int | Lettura | {@inheritDoc} @return sempre {@code 0} / |
Metodi
| Firma | Descrizione |
|---|---|
PPImage() | Crea un {@code PPImage} non inizializzato. |
initInternal(pkg: OpcPackage, partName: String, imageData: byte[], contentType: String) | Inizializzazione interna con riferimento al pacchetto OPC. |
getBinaryData() → byte[] | {@inheritDoc} / |
getImage() → IImage | {@inheritDoc} / |
getContentType() → String | {@inheritDoc} / |
getWidth() → int | {@inheritDoc} / |
getHeight() → int | {@inheritDoc} / |
getX() → int | {@inheritDoc} @return sempre {@code 0} / |
getY() → int | {@inheritDoc} @return sempre {@code 0} / |
replaceImage(newImageData: byte[]) | {@inheritDoc} / |
replaceImage(newImage: IImage) | {@inheritDoc} / |
replaceImage(newImage: IPPImage) | {@inheritDoc} / |