BCL easyPDF SDK
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.

Type

Double (scaling factor)

Remarks

N/A.

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");