Click or drag to resize

PdfLiteStorageProvider.GetDataStream Method

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

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

Parameters

session
Type: RadPdf.Lite.PdfLiteSession
PdfLiteSession associated with the data requested.
subtype
Type: System.Int32
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
This website uses cookies to identify your session and other necessary functions. By using this website, you are agreeing to our Terms of Use and Privacy Policy (updated April 26 2021).
Learn About Cookies
Got it!