THotPDF.PlanProgressiveLinearizedPageRanges Method

Declaration

function PlanProgressiveLinearizedPageRanges(
  Source: THPDFRandomAccessSource; PageIndex: Integer;
  out Plan: THPDFLinearizedPageRangePlan): boolean; overload;
function PlanProgressiveLinearizedPageRanges(
  Source: THPDFRandomAccessSource; PageIndex: Integer;
  out Plan: THPDFLinearizedPageRangePlan): boolean; overload;

Behaviour

Plans which byte ranges of the linearised document supplied by Source must be fetched to render PageIndex progressively

Returns True on success and fills Plan with the range layout and its status