Progress® Telerik® Reporting R3 2017

CreateStream Delegate

Used by the rendering extension to obtain a stream.

Namespace:  Telerik.Reporting.Processing
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)

Syntax

public delegate Stream CreateStream(
	string name,
	string extension,
	Encoding encoding,
	string mimeType
)

Parameters

name
Type: SystemString
The name of the stream.
extension
Type: SystemString
The type of the rendering extension.
encoding
Type: System.TextEncoding
The encoding used by the stream.
mimeType
Type: SystemString
The MIME type of the stream.

Return Value

Type: Stream
The stream to be used by the Reporting engine.

Remarks

The stream created by the CreateStream delegate is used by the Reporting engine and for best performance it is not advisable to be closed.

See Also