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

Zoom Property

Sets the content scaling value. The default value is 1.0, also known as 100% scaling. 2.0 doubles the content size, 0.5 shrinks the content to half. Scaling can be fine-tuned to any floating-point value within reasonable limits.

double Zoom { get; set; }

Property Zoom As Double

def getZoom(self)
def setZoom(self, value)
double getZoom() throws PrinterException
void setZoom(double value) throws PrinterException
function getZoom() 
function setZoom($value) 
BclPrnResult GetZoom(BclPrinter* pPrinter, double* poutVal);
BclPrnResult SetZoom(BclPrinter* pPrinter, double newVal);
Property Zoom As Double

bepprint +WebKit -zoom <percent>


Double (scaling factor)



Example Usage

' VB Sample Code

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

Set oPrintJob = oPrinter.HTMLPrintJob

oPrintJob.Zoom = 0.75

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

// C# Sample Code

Printer printerObj = new Printer();

HTMLPrintJob printJobObj = printerObj.HTMLPrintJob;

printJobObj.Zoom = 0.75;

printJobObj.PrintOut("http://www.pdfonline.com/", "C:\\temp\\output.pdf");