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; by default true
IncludeCrossReferenceRangesAdd the byte ranges of the main cross-reference section to the plan; by default true
AllowRowAlignedHintsAccept interoperable row-aligned hint layouts whilst decoding; by default true
MergeGapBytesMerge two planned ranges when the gap between them is at most this many bytes; by default 0 (no merging)
MaximumHintBytesRefuse hint streams larger than this; by default 67108864 (64 MiB)
MaximumPageCountRefuse documents with more pages than this; by default 1000000
MaximumSharedGroupsUpper bound on shared-object groups planned; by default 1000000
MaximumSharedReferencesUpper bound on shared-object references planned; by default 4000000
MaximumRangesUpper bound on emitted byte ranges per plan; by default 65536
MaximumPlannedBytesRefuse plans whose total byte coverage exceeds this; by default 536870912 (512 MiB)
MaximumPlannerMemoryBytesWorking-memory ceiling for the planner; by default 268435456 (256 MiB)
DefaultClass function handing back the values listed above

Usage notes

Related APIs