THotPDF.GetLoadedXRefRecoveryInfo Method
Copies the structured result of the most recent bounded cross-reference recovery attempt
Declaration
function GetLoadedXRefRecoveryInfo(
out Info: THPDFXRefRecoveryInfo
): Boolean;
Return value
Returns True when recovery was attempted and Info contains its status, method, resource counters, selected xref offset and diagnostic
Usage notes
- Call after
LoadFromFileorLoadFromStream - A normal load that did not need recovery returns
False - The result distinguishes resource-limit failures, structural failure, relocated xref sections and rebuilt direct-object offsets