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

WaitTimeAfterPageIsLoaded Property

Gets/Sets time to wait before printing after the page is completely loaded.

Type

Long (milliseconds). Default: 200

Remarks

When an HTML page contains JavaScript, it is often necessary to wait for the JavaScript execution to complete before the document is converted. The purpose of this property is to introduce such a wait.

Example Usage


' VB sample code

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

Set oPrintJob = oPrinter.HTMLPrintJob

' wait 1 second after page is loaded
oPrintJob.WaitTimeAfterPageIsLoaded = 1000

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