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.

int WaitTimeAfterPageIsLoaded { get; set; }

Property WaitTimeAfterPageIsLoaded As Integer

def getWaitTimeAfterPageIsLoaded(self)
def setWaitTimeAfterPageIsLoaded(self, value)
int getWaitTimeAfterPageIsLoaded() throws PrinterException
void setWaitTimeAfterPageIsLoaded(int value) throws PrinterException
function getWaitTimeAfterPageIsLoaded() 
function setWaitTimeAfterPageIsLoaded($value) 
BclPrnResult GetWaitTimeAfterPageIsLoaded(BclPrinter* pPrinter, int* poutVal);
BclPrnResult SetWaitTimeAfterPageIsLoaded(BclPrinter* pPrinter, int newVal);
Property WaitTimeAfterPageIsLoaded As Long


Long (milliseconds)


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

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

Set oPrintJob = oPrinter.IEExtendedPrintJob

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

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