Progress® Telerik® Reporting R3 2017

ReportPackagerPackage Method (IReportDocument, Stream)

Packages the specified report instance and writes the package to the specified Stream.

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

Syntax

public void Package(
	IReportDocument report,
	Stream targetStream
)

Parameters

report
Type: Telerik.ReportingIReportDocument
The Report object to package.
targetStream
Type: System.IOStream
The target stream to write the packaged document.

Remarks

Use the targetStream parameter to specify an object that derives from the Stream class, which is designed to write to streams. Classes that derive from the Stream class include: BufferedStream, FileStream, MemoryStream, etc.

See Also