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

ResumeOnError Property

Determines whether HTML conversion fails if the URL can not be found. The default value is True.

Type

Boolean

Remarks

A value of True means that conversion fails if the specified URL does not exist, or the web site is not available. False indicates that conversion should be resumed on such errors, in which case the Internet Explorer-generated error HTML will be converted into PDF.

Example Usage

'VB Sample Code

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

Set oPrintJob = oPrinter.IEExtendedPrintJob

oPrintJob.PageWidth = 8.5
oPrintJob.PageHeight = 11.0
oPrintJob.ResumeOnError = True

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


//C# Sample Code

PrinterClass printerObj = new PrinterClass();

IEExtendedPrintJob printJobObj = printerObj.IEExtendedPrintJob;

printJobObj.PageWidth = 8.5;
printJobObj.PageHeight = 11.0;
printJobObj.ResumeOnError = false;

printJobObj.PrintOut("http://www.pdfonline.com/", @"C:\test\output.pdf");