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.

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

bepprint +WebKit -wait <seconds>

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"