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

NameTypeAccessDescription
xintReadReturns the horizontal resolution in DPI.
yintReadReturns the vertical resolution in DPI.

Methods

SignatureDescription
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()intReturns the horizontal resolution in DPI.
getY()intReturns the vertical resolution in DPI.
toString()String

See Also

 English