Metoda THotPDF.ReadProgressiveLinearizedFirstPageSection
Copies the available first-page section of a linearized source through bounded cancellable reads
Declaration
function ReadProgressiveLinearizedFirstPageSection(Source: THPDFRandomAccessSource; Destination: TStream; out Info: THPDFProgressiveLoadInfo): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Source | Linearized random-access source |
Destination | Caller-owned stream that receives the first-page prefix |
Info | Receives the latest availability status and validated offsets |
Return value
Returns True when the first-page section was copied after both required ranges became available
Usage notes
- Destinația primește doar prefixul linearizat al primei pagini și rămâne proprietatea apelantului
- Citirile folosesc bucăți de 64 KiB și respectă token-ul de anulare a operației