THPDFProgressiveLoadStatus Type
Reports how much of a linearized document is available during progressive load
Declaration
THPDFProgressiveLoadStatus= (pldsHeaderUnavailable, pldsNotLinearized,
pldsInvalidLinearization, pldsFirstPageUnavailable,
pldsFirstPageReady, pldsDocumentReady);
Unit
HPDFDoc
Values
| Value | Purpose |
|---|---|
pldsHeaderUnavailable | Not enough of the file has arrived to read the linearization header and dictionary |
pldsNotLinearized | The file is not linearized, so progressive first-page loading does not apply |
pldsInvalidLinearization | The linearization dictionary failed validation |
pldsFirstPageUnavailable | The document is linearized but the first-page byte ranges have not arrived yet |
pldsFirstPageReady | The first page is fully available and can be displayed 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 while later ranges download- The companion
THPDFProgressiveLoadInforecord reports which range groups are available and aDiagnosticstring for failures pldsNotLinearizedandpldsInvalidLinearizationare permanent for the file; the unavailable states clear as more bytes arrive