Reporting

Used by the rendering extension to obtain a stream.

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

Syntax

C#
public delegate Stream CreateStream(
	string name,
	string extension,
	Encoding encoding,
	string mimeType
)
Visual Basic
Public Delegate Function CreateStream ( _
	name As String, _
	extension As String, _
	encoding As Encoding, _
	mimeType As String _
) As Stream

Parameters

name
Type: System..::..String
The name of the stream.
extension
Type: System..::..String
The type of the rendering extension.
encoding
Type: System.Text..::..Encoding
The encoding used by the stream.
mimeType
Type: System..::..String
The MIME type of the stream.

Return Value

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.

Version Information

Supported in: 1.0.1

See Also