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;

Behavior

Plans which byte ranges of the linearized 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