THPDFHeadlessDocumentOptions
This record in HPDFHeadlessDocument configures positive resource limits for THPDFHeadlessDocument
| Member | Default | Meaning |
|---|---|---|
| MaxFileBytes | 1 GiB | Maximum source and published output size |
| MaxObjectBytes | 16 MiB | Maximum raw indirect-object block and replacement object size |
| MaxDecodedBytes | 64 MiB | Maximum decoded stream, combined page-content size, and total retained decoded object-stream bytes |
| MaxObjects | 1,000,000 | Maximum cross-reference object-number range |
| MaxPages | 100,000 | Maximum page-tree leaf count |
| MaxFields | 100,000 | Maximum terminal AcroForm field count |
| MaxDepth | 64 | Maximum xref history, reference, page, field, filter, and Form XObject depth |
| MaxGlyphs | 1,000,000 | Maximum page text operands and interpreted glyph count |
| CancellationToken | nil | Optional caller-owned THPDFCancellationToken |
Default initializes every member; invalid nonpositive limits are rejected by the constructor, and cancellation raises EHPDFOperationCancelled
Limits apply to their individual operations and are not a total process-memory quota; loaded object dictionaries remain cached until Close