Partilhar via


Método Report.Render (String)

Processes the report and renders it in the specified format.

Namespace:  Microsoft.Reporting.WebForms
Assembly:  Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)

Sintaxe

'Declaração
Public Function Render ( _
    format As String _
) As Byte()
public byte[] Render(
    string format
)
public:
array<unsigned char>^ Render(
    String^ format
)
member Render : 
        format:string -> byte[] 
public function Render(
    format : String
) : byte[]

Parâmetros

  • format
    Tipo: String
    The format in which to render the report. This parameter maps to a rendering extension.
    In local processing mode, supported extensions are Excel, PDF, Word, and Image. In remote processing mode, supported extensions depend on the extensions supported by the report server.
    You can access the list of available rendering extensions using the ListRenderingExtensions method in ServerReport or LocalReport, depending on the processing mode (see ProcessingMode).

Valor de retorno

Tipo: array<Byte[]
A byte array of the report in the specified format.

Consulte também

Referência

Report Classe

Sobrecargas Render

Namespace Microsoft.Reporting.WebForms