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

NameTypeAccessDescription
sizeSizeReadGets the size of the image.
widthintReadGets the width of the image in pixels.
heightintReadGets the height of the image in pixels.

méthodes

SignatureDescription
getSize()SizeGets the size of the image.
getWidth()intGets the width of the image in pixels.
getHeight()intGets 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
 Français