Renders the report into a Stream object.
Namespace:
C1.C1ReportAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public void RenderToStream( Stream stream, FileFormatEnum fmt ) |
Visual Basic |
---|
Public Sub RenderToStream ( _ stream As Stream, _ fmt As FileFormatEnum _ ) |
Parameters
- stream
- Type: System.IO..::..Stream
Stream that will contain the report.
- fmt
- Type: C1.C1Report..::..FileFormatEnum
Report format to insert into the output stream.
Remarks
This method is especially useful in ASP.NET scenarios where you want to render reports into Html or Pdf streams, without creating temporary files.
Not all types of report can be rendered into streams. The Excel format requires OLE compound files and can only be rendered into files.