Metoda THotPDF.OpenLoadedStreamSourceSlice

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

Declaration

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

Unit

HPDFDoc

Parameters

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

Return value

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

Usage notes

Related APIs