IPPImage
Vue de l’ensemble
‘IPPImage’ est une interface dans Aspose.Slides FOSS pour Java.
Il représente une image dans une présentation.
Cette interface fournit 10 méthodes pour travailler avec les objets IPPImage dans les programmes Java. Les méthodologies disponibles comprennent: ‘getBinaryData’, ‘gettContentType’, getHeight', ‘getImages’, 'GetWidth', ’getX', ‚getY, ‘replaceImag’. Tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de l’Aspose.Slides FOSS pour le package Java . Propriétés : ‘binaryDatas’, ‘‘contentTyp’,‘‘height ,''image et 1 plus.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
binaryData | byte[] | Read | Returns the copy of an image’s data. |
image | IImage | Read | Returns the copy of an image. |
contentType | String | Read | Returns a MIME type of an image. |
width | int | Read | Returns the width of an image. |
height | int | Read | Returns the height of an image. |
x | int | Read | Returns the X-offset of an image. |
y | int | Read | Returns the Y-offset of an image. |
méthodes
| Signature | Description |
|---|---|
getBinaryData() → byte[] | Returns the copy of an image’s data. |
getImage() → IImage | Returns the copy of an image. |
getContentType() → String | Returns a MIME type of an image. |
getWidth() → int | Returns the width of an image. |
getHeight() → int | Returns the height of an image. |
getX() → int | Returns the X-offset of an image. |
getY() → int | Returns the Y-offset of an image. |
replaceImage(newImageData: byte[]) | Replaces the image data with new raw binary data. |
replaceImage(newImage: IImage) | Replaces the image with the specified {@link IImage}. |
replaceImage(newImage: IPPImage) | Replaces the image with another presentation image. |
Voir aussi
- Aspose.Slides - référence API d’entreprise