Sdílet prostřednictvím


Report.Render-Methode

Processes the report and renders it in the specified format.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax

'Declaration
'Usage

Parameter

  • 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.

Rückgabewert

A Byte array of the report in the specified format.

Hinweise

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

Siehe auch

Verweis

Report-Klasse
Report-Member
Microsoft.Reporting.WinForms-Namespace