GetXRefLoadPolicy

Document loading, Recovery, Security

Description

Returns the cross-reference loading policy configured on the library instance

Syntax

Delphi

Function TPDFlib.GetXRefLoadPolicy: Integer;

Return values

PDF_XREF_LOAD_STRICTOnly exact and fully valid table, stream and hybrid chains are accepted
PDF_XREF_LOAD_COMPATIBLEControlled compatibility repairs are allowed without raw reconstruction
PDF_XREF_LOAD_RECOVERYCompatible parsing may fall back to raw object reconstruction

Remarks

A new instance returns PDF_XREF_LOAD_RECOVERY