THotPDF.LazyPageTreeThreshold

Controls the minimum declared page count that activates lazy page-tree loading

Declaration

property LazyPageTreeThreshold: Integer
  read FLazyPageTreeThreshold write SetLazyPageTreeThreshold default 4096;

The default is 4096 pages

Set the value before loading a document to choose a different threshold

A value of 0 disables lazy loading and immediately expands an active lazy tree

Negative values raise ERangeError

See also: Lazy page-tree loading, MaterializeAllLoadedPages