THPDFFDFOptions record

Unit: HPDFFDFAnnotations

Start from THPDFFDFOptions.Default and reduce individual limits for the caller's workload

MemberDefaultMeaning
MaxBytes16 MiBMaximum encoded input or output bytes
MaxNodes100000Aggregate graph value count
MaxObjects65536Indirect object count
MaxDepth64Syntax, output and relevant traversal depth; values above 64 are rejected
MaxAnnotations65536Number of entries in the annotation array
MaxWorkingBytes128 MiBConservative aggregate storage reservation for graph processing and adapters
CancellationTokennilBorrowed cooperative cancellation token

All numeric limits must be positive; increasing one limit does not bypass the other limits or the bounded operation accounting

Working-storage admission is conservative and may include cumulative scratch reservations; it is not a measurement of the process heap

Native document imports require a shared cancellation token where both the loaded document and these options specify one

Keep the token alive for the entire operation; cancellation and budget failures preserve the document transaction and destination publication guarantees