C1.C1Report.4 Assembly > C1.C1Report Namespace > C1Report Class > RenderToStream Method : RenderToStream(Stream,FileFormatEnum) Method |
'Declaration Public Overloads Sub RenderToStream( _ ByVal stream As System.IO.Stream, _ ByVal fmt As FileFormatEnum _ )
public void RenderToStream( System.IO.Stream stream, FileFormatEnum fmt )
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.