Resolution

Overview

Resolution is a class in Aspose.Pdf FOSS for Java.

Represents the resolution (DPI) for rendering PDF pages to images.

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