Miniature
Inheritance: java.lang.Object, com.aspose.imaging.xmp.types.XmpTypeBase, com.aspose.imaging.xmp.types.complex.ComplexTypeBase
public final class Thumbnail extends ComplexTypeBase
Représente l’image miniature d’un fichier.
Constructeurs
| Constructeur | Description |
|---|---|
| Thumbnail() | Initialise une nouvelle instance de la classe Thumbnail. |
| Thumbnail(int width, int height) | Initialise une nouvelle instance de la classe Thumbnail. |
Méthodes
| Méthode | Description |
|---|---|
| getWidth() | Obtient ou définit la largeur. |
| setWidth(int value) | Obtient ou définit la largeur. |
| getHeight() | Obtient ou définit la hauteur. |
| setHeight(int value) | Obtient ou définit la hauteur. |
| getImageBase64() | Obtient ou définit l’image au format base64. |
| setImageBase64(String value) | Obtient ou définit l’image au format base64. |
| getXmpRepresentation() | Obtient la valeur de chaîne contenue au format XMP. |
Thumbnail()
public Thumbnail()
Initialise une nouvelle instance de la classe Thumbnail.
Thumbnail(int width, int height)
public Thumbnail(int width, int height)
Initialise une nouvelle instance de la classe Thumbnail.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| width | int | La largeur. |
| height | int | La hauteur. |
getWidth()
public int getWidth()
Obtient ou définit la largeur.
Returns: int
setWidth(int value)
public void setWidth(int value)
Obtient ou définit la largeur.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| valeur | int |
getHeight()
public int getHeight()
Obtient ou définit la hauteur.
Returns: int
setHeight(int value)
public void setHeight(int value)
Obtient ou définit la hauteur.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| valeur | int |
getImageBase64()
public String getImageBase64()
Obtient ou définit l’image au format base64.
Valeur: l’image au format base64.
Returns: java.lang.String
setImageBase64(String value)
public void setImageBase64(String value)
Obtient ou définit l’image au format base64.
Valeur: l’image au format base64.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| valeur | java.lang.String |
getXmpRepresentation()
public String getXmpRepresentation()
Obtient la valeur de chaîne contenue au format XMP.
Returns: java.lang.String - Retourne la valeur de chaîne contenue au format XMP.