Click or drag to resize

PdfLiteStorageProviderGetDataStream Method

Gets data, as a Stream from the PdfLiteStorageProvider for the given session.

Namespace:  RadPdf.Lite
Assembly:  RadPdf (in RadPdf.dll) Version: (
public virtual Stream GetDataStream(
	PdfLiteSession session,
	int subtype


Type: RadPdf.LitePdfLiteSession
PdfLiteSession associated with the data requested.
Type: SystemInt32
The sub type of data requested. Implementations should allow any Int32 value and store data separately.

Return Value

Type: Stream

The requested data stream if found in the storage provider; otherwise null.

When overriding this method, the returned Stream must be readable (CanRead is true) and seekable (CanSeek is true).


If this method is overridden, GetData(PdfLiteSession, Int32) will not be used.

See Also