THotPDF.ReadProgressiveLinearizedFirstPageSection Method
Copies the available first-page section of a linearized source through bounded cancellable reads
اعلان
function ReadProgressiveLinearizedFirstPageSection(Source: THPDFRandomAccessSource; Destination: TStream; out Info: THPDFProgressiveLoadInfo): boolean;
واحد
HPDFDoc
پارامترها
| نام | هدف |
|---|---|
Source | Linearized random-access source |
Destination | Caller-owned stream that receives the first-page prefix |
Info | Receives the latest availability status and validated offsets |
مقدار بازگشتی
Returns True when the first-page section was copied after both required ranges became available
یادداشتهای استفاده
- The destination receives only the linearized first-page prefix and remains owned by the caller
- Reads use 64 KiB chunks and honour the operation cancellation token