IImage
Vue de l’ensemble
‘IImage’ est une interface dans Aspose.Slides FOSS pour Java.Déduit de: AutoCloseable.
Il représente une image de raster ou vecteur.
Cette interface fournit 8 méthodes pour travailler avec les objets IImage dans les programmes Java. Les méthodologies disponibles comprennent: ‘getHeight’, ‘getsize’, getWidth', ‘save. 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 : ‘height’, ‘size’ et ‘width’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
size | Size | Read | Gets the size of the image. |
width | int | Read | Gets the width of the image in pixels. |
height | int | Read | Gets the height of the image in pixels. |
méthodes
| Signature | Description |
|---|---|
getSize() → Size | Gets the size of the image. |
getWidth() → int | Gets the width of the image in pixels. |
getHeight() → int | Gets the height of the image in pixels. |
save(filename: String) | Saves the image to the specified file. |
save(filename: String, format: String) | Saves the image to the specified file in the given format. |
save(stream: OutputStream, format: String) | Saves the image to the specified stream in the given format. |
save(filename: String, format: String, quality: int) | Saves the image to the specified file in the given format and quality. |
save(stream: OutputStream, format: String, quality: int) | Saves the image to the specified stream in the given format and quality. |
Voir aussi
- Aspose.Slides - référence API d’entreprise