easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

Resolution Property

Gets/Sets the printing resolution.


Double (dpi, pixels per inch)


Resolution determines how many pixels inside Internet Explorer will become one inch long in the output PDF file. This can be treated like a scaling factor, which allows the user to zoom content in or out.

The default value is determined from the system’s video settings, which is typically 96dpi. That means 96 pixels on the screen will be equal to one inch in the PDF file.
Decreasing this setting means less pixels will be stretched to the same one inch size, effectively zooming in (increasing magnification).
Increasing this value means more pixels will be stuffed on the same one inch size, effectively zooming out (decreasing magnification).

A value of 80 allows the rendering of Letter size pages on systems with only 768 lines of video resolution, by effectively putting less content on a page at a higher magnification factor. A resolution of 96 requires at least 1024 screen lines for Letter sized pages in order to avoid content cropping

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")

Set oPrintJob = oPrinter.IEExtendedPrintJob

oPrintJob.Resolution = 80

oPrintJob.PrintOut "C:\test\input.htm", "C:\test\output.pdf"