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)

Remarks

For a HTML page containing an embedded object such as Java applet, they are sometimes not printed correctly because the applet rendering can happen after the page is completely loaded. If you encounter such problem, use this property to wait until the rendering from the embedded object is finished.

Example Usage


' VB sample code

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

Set oPrintJob = oPrinter.IEPrintJob

' wait 5 seconds after page is loaded
oPrintJob.WaitTimeAfterPageIsLoaded = 5000

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