THotPDF.ReadProgressiveLinearizedFirstPageSection Method

Copies the available first-page section of a linearized source through bounded cancellable reads

Deklaration

function ReadProgressiveLinearizedFirstPageSection(Source: THPDFRandomAccessSource; Destination: TStream; out Info: THPDFProgressiveLoadInfo): boolean;

Unit

HPDFDoc

Parameter

NameZweck
SourceLinearized random-access source
DestinationCaller-owned stream that receives the first-page prefix
InfoReceives the latest availability status and validated offsets

Rückgabewert

Returns True when the first-page section was copied after both required ranges became available

Verwendungshinweise

Verwandte APIs