THPDFParserBudgetLimit Type
Identifies the parser budget category that was overstepped when EHPDFParserBudgetExceeded is raised
Declaration
THPDFParserBudgetLimit= (pblNone, pblTokenBytes,
pblTotalTokens, pblContainerItems, pblBadTokens);
Unit
HPDFDoc
Values
| Value | Meaning |
|---|---|
pblNone |
No budget category: the initial value of the last-limit bookkeeping prior to any breach |
pblTokenBytes |
A single token went past ParserMaxTokenBytes |
pblTotalTokens |
The accumulated token count went past ParserMaxTotalTokens |
pblContainerItems |
An array or dictionary went past ParserMaxContainerItems |
pblBadTokens |
The bad-token count went past ParserMaxBadTokens |
Usage notes
- Read the
Limit,ObservedandMaximumproperties ofEHPDFParserBudgetExceededto see which category tripped and by what margin - A budget check is active only whilst its corresponding
ParserMax...property is greater than zero