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: 3.48.0.0 (3.48.0.0)
Syntax
public virtual Stream GetDataStream(
	PdfLiteSession session,
	int subtype
)

Parameters

session
Type: RadPdf.LitePdfLiteSession
PdfLiteSession associated with the data requested.
subtype
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).

Remarks

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

See Also