C1.C1Report Namespace > C1Report Class > RenderToStream Method : RenderToStream(Stream,FileFormatEnum) Method |
'Declaration Public Overloads Sub RenderToStream( _ ByVal stream As Stream, _ ByVal fmt As FileFormatEnum _ )
public void RenderToStream( 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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2