THPDFProgressiveLoadStatus Type
Reports how much of a linearized document is available whilst a progressive load is under way
Declaration
THPDFProgressiveLoadStatus= (pldsHeaderUnavailable, pldsNotLinearized,
pldsInvalidLinearization, pldsFirstPageUnavailable,
pldsFirstPageReady, pldsDocumentReady);
Unit
HPDFDoc
Values
| Value | Purpose |
|---|---|
pldsHeaderUnavailable | Not enough of the file has arrived for the linearization header and dictionary to be read |
pldsNotLinearized | The file is not linearized, so progressive first-page loading has no application |
pldsInvalidLinearization | The linearization dictionary did not pass validation |
pldsFirstPageUnavailable | The document is linearized but the first-page byte ranges have yet to arrive |
pldsFirstPageReady | The first page is fully available and can be shown before the rest of the file arrives |
pldsDocumentReady | Header, first page and main cross-reference ranges are all available, so the whole document can open |
Usage notes
pldsFirstPageReadyis the milestone that lets a viewer paint page one whilst later ranges download- The companion
THPDFProgressiveLoadInforecord reports which range groups are available together with aDiagnosticstring for failures pldsNotLinearizedandpldsInvalidLinearizationare permanent for the file; the unavailable states clear once more bytes arrive