GetDocumentRepaired

Document properties, Document management

Description

Indicates whether the selected document required reconstruction of invalid or unusable cross-reference information during loading

Reconstruction scans the source in bounded blocks, validates complete indirect-object header tokens, and ignores object-like bytes inside comments, strings, and stream data

A return value of 1 identifies a recovered document that should be saved to a new file to create clean cross-reference information

Syntax

Delphi

Function TPDFlib.GetDocumentRepaired: Integer;

ActiveX

Function PDFlib::GetDocumentRepaired() As Long

DLL

int DLGetDocumentRepaired(int InstanceID);

Return values

0The document was not repaired
1The document was repaired