GetRecoveryMode

Document loading, recovery, security

Description

Returns the selected-document raw reconstruction depth configured on the library instance

Syntax

Delphi

Function TPDFlib.GetRecoveryMode: Integer;

Return values

PDF_RECOVERY_STRICTDamaged cross-reference data is rejected
PDF_RECOVERY_REPAIRTop-level objects are rebuilt when a usable trailer survives
PDF_RECOVERY_BEST_EFFORTObject-stream members and missing trailer data may also be recovered

Remarks

A new instance returns PDF_RECOVERY_BEST_EFFORT

The mode is used only when GetXRefLoadPolicy returns PDF_XREF_LOAD_RECOVERY

The mode is used only when GetXRefLoadPolicy returns PDF_XREF_LOAD_RECOVERY

The mode is used only when GetXRefLoadPolicy returns PDF_XREF_LOAD_RECOVERY