THPDFLazyFileStream.CreateReadOnlySlice Method

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

Declaration

function CreateReadOnlySlice: TStream;

Unit

HPDFObjs

Parameters

NamePurpose
This member does not expose explicit parameters

Return value

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

Usage notes

Related APIs