THotPDF.GetLastDecodeBudgetInfo Method
Returns diagnostics for the most recently decoded loaded stream filter chain
Declaration
function GetLastDecodeBudgetInfo(
out AInfo: THPDFDecodeBudgetInfo): Boolean;
Parameters
| Name | Purpose |
|---|---|
AInfo | Receives the configured limit, accepted decoded bytes, peak stage size, filter count, exceeded state, and failing filter |
Return value
Returns True when at least one filter chain has recorded diagnostics on this document instance
Failure behavior
Low-level decoding raises EHPDFDecodeBudgetError when accepting another stage would exceed the configured aggregate budget, while high-level loaded-document APIs preserve their existing False or nil failure contracts