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_STRICT | Only exact and fully valid table, stream and hybrid chains are accepted |
|---|---|
PDF_XREF_LOAD_COMPATIBLE | Controlled compatibility repairs are allowed without raw reconstruction |
PDF_XREF_LOAD_RECOVERY | Compatible parsing may fall back to raw object reconstruction |
Remarks
A new instance returns PDF_XREF_LOAD_RECOVERY