ScaleType
Inheritance: java.lang.Object, com.aspose.ms.System.Enum
Represents possible modes for automatic scale of an image.
Enum Values
| Field | Description |
|---|---|
| ShrinkToFit | Automatically shrink image to fit on canvas. |
| GrowToFit | Automatically increase image to fit on canvas. |
| None | Do not use automatic scaling. |
ShrinkToFit
public static final int ShrinkToFit
Automatically shrink image to fit on canvas.
Returns: int
GrowToFit
public static final int GrowToFit
Automatically increase image to fit on canvas.
Returns: int
None
public static final int None
Do not use automatic scaling.
Returns: int