Share via


Report.Render メソッド

Processes the report and renders it in the specified format.

名前空間: Microsoft.Reporting.WinForms
アセンブリ: Microsoft.ReportViewer.WinForms (microsoft.reportviewer.winforms.dll 内)

構文

'宣言
'使用

パラメータ

  • format
    The format in which to render the report. This argument maps to a rendering extension. Supported extensions include XML, NULL, CSV, IMAGE, PDF, HTML4.0, HTML3.2, MHTML, Excel, and HTMLOWC.
  • 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 the SQL Server 2005 Reporting Services documentation.
  • mimeType
    [out] The MIME type of the rendered report.
  • encoding
    [out] The encoding used when rendering the contents of the report.
  • fileNameExtension
    [out] The filename extension used for the output file.
  • streams
    [out] The stream identifiers. You can use them to render the external resources (images, etc.) that are associated with the report.
  • warnings
    [out] An array of Warning objects that describes any warnings that occurred during report processing.

戻り値

A Byte array of the report in the specified format.

解説

Please see the LocalReport or ServerReport implementations for specific remarks and code samples.

参照

リファレンス

Report クラス
Report メンバ
Microsoft.Reporting.WinForms 名前空間