THPDFLinearizedPageRangeOptions Record

Budgets and switches for the progressive linearized range planner: bootstrap and cross-reference range inclusion, row-aligned hints, gap merging, and hard caps on pages, groups, ranges, and memory

Declaration

THPDFLinearizedPageRangeOptions= record
  IncludeBootstrapRanges: boolean;
  IncludeCrossReferenceRanges: boolean;
  AllowRowAlignedHints: boolean;
  MergeGapBytes: Int64;
  MaximumHintBytes: Int64;
  MaximumPageCount: Integer;
  MaximumSharedGroups: Integer;
  MaximumSharedReferences: Integer;
  MaximumRanges: Integer;
  MaximumPlannedBytes: Int64;
  MaximumPlannerMemoryBytes: Int64;
  class function Default: THPDFLinearizedPageRangeOptions; static;
end;

Unit

HPDFDoc

Fields

FieldPurpose
IncludeBootstrapRangesAdd the header and bootstrap byte ranges needed before any page can decode; default true
IncludeCrossReferenceRangesAdd the byte ranges of the main cross-reference section to the plan; default true
AllowRowAlignedHintsAccept interoperable row-aligned hint layouts during decoding; default true
MergeGapBytesMerge two planned ranges when the gap between them is at most this many bytes; default 0 (no merging)
MaximumHintBytesRefuse hint streams larger than this; default 67108864 (64 MiB)
MaximumPageCountRefuse documents with more pages than this; default 1000000
MaximumSharedGroupsUpper bound on shared-object groups planned; default 1000000
MaximumSharedReferencesUpper bound on shared-object references planned; default 4000000
MaximumRangesUpper bound on emitted byte ranges per plan; default 65536
MaximumPlannedBytesRefuse plans whose total byte coverage exceeds this; default 536870912 (512 MiB)
MaximumPlannerMemoryBytesWorking-memory ceiling for the planner; default 268435456 (256 MiB)
DefaultClass function returning the values listed above

Usage notes

Related APIs