Resolution
Overview
Resolution is a class in Aspose.PDF FOSS for Java.
Represents the resolution (DPI) for rendering PDF pages to images.
This class provides 5 methods for working with Resolution objects in Java programs.
Available methods include: Resolution, getX, getY, toString.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: x, y.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
x | int | Read | Returns the horizontal resolution in DPI. |
y | int | Read | Returns the vertical resolution in DPI. |
Methods
| Signature | Description |
|---|---|
Resolution(dpi: int) | Creates a resolution with equal horizontal and vertical DPI. |
Resolution(x: int, y: int) | Creates a resolution with separate horizontal and vertical DPI. |
getX() → int | Returns the horizontal resolution in DPI. |
getY() → int | Returns the vertical resolution in DPI. |
toString() → String |