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

OpenAndRepair Property

Gets/Sets the flag to indicate whether to open corrupted document and repair.

Type:

Boolean

Remarks

The default value is False. If this value is set to True, then Word will try to repair the document if it is corrupted. And then if the document is repaired, you will see a repair dialog box and the document itself showing up briefly. If this value is set to False, corrupted documents will not be processed.

Example Usage

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

Set oPrintJob = oPrinter.WordPrintJob
oPrintJob.OpenAndRepair = True

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