THPDFLazyFileStream.CreateReadOnlySlice Method

Creates an independent read-only stream over the original source-file range whilst the lazy stream remains source-backed

Declaration

function CreateReadOnlySlice: TStream;

Unit

HPDFObjs

Parameters

NamePurpose
This member takes no explicit parameters

Return value

Returns a caller-owned read-only stream, or nil after the lazy stream has been materialised

Usage notes

Related APIs