THPDFParserBudgetLimit Type
Identifies the parser budget category that was breached 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 before any breach |
pblTokenBytes |
A single token exceeded ParserMaxTokenBytes |
pblTotalTokens |
The accumulated token count exceeded ParserMaxTotalTokens |
pblContainerItems |
An array or dictionary exceeded ParserMaxContainerItems |
pblBadTokens |
The bad-token count exceeded ParserMaxBadTokens |
Usage notes
- Read the
Limit,ObservedandMaximumproperties ofEHPDFParserBudgetExceededto see which category tripped and by how much - A budget check is active only while its corresponding
ParserMax...property is greater than zero