THotPDF.OpenLoadedStreamSourceSlice Method

Opens an independent read-only view over the original encoded bytes of an unfiltered loaded stream without materialising the stream

Deklaration

function OpenLoadedStreamSourceSlice(AStream: THPDFStreamObject; out Slice: TStream): boolean;

Unit

HPDFDoc

Parameter

NameZweck
AStreamLoaded stream object whose encoded source bytes are requested
SliceReceives a caller-owned independent read-only source slice

Rückgabewert

Returns True when the stream is unfiltered, source-backed, and a slice was opened

Verwendungshinweise

Verwandte APIs