ServerReport.RenderStream 方法

Returns a secondary stream associated with a processed report.

命名空间: Microsoft.Reporting.WebForms
程序集: Microsoft.ReportViewer.WebForms (在 microsoft.reportviewer.webforms.dll 中)

语法

声明
用法

参数

  • format
    The format in which to render the stream. This argument maps to a rendering extension. Supported extensions include XML, NULL, CSV, IMAGE, PDF, HTML4.0, HTML3.2, MHTML, Excel, and HTMLOWC.
  • streamId
    The stream identifier.
  • deviceInfo
    An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see "Device Information Settings" in SQL Server Books Online.
  • mimeType
    The MIME type of the stream.
  • encoding
    The Microsoft .NET Framework encoding class name.

返回值

A Byte array of the stream in the specified format. For more information about this data type, see "Byte Structure" in the .NET Framework documentation.

备注

Examples of streams include images and charts.

另请参见

参考

ServerReport 类
ServerReport 成员
Microsoft.Reporting.WebForms 命名空间