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.

bool ResumeOnError { get; set; }

Property ResumeOnError As Boolean

def getResumeOnError(self)
def setResumeOnError(self, value)
boolean getResumeOnError() throws PrinterException
void setResumeOnError(boolean value) throws PrinterException
function getResumeOnError() 
function setResumeOnError($value) 
BclPrnResult GetResumeOnError(BclPrinter* pPrinter, BclBool* poutVal);
BclPrnResult SetResumeOnError(BclPrinter* pPrinter, BclBool newVal);
Property ResumeOnError As Boolean




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");