Aracılığıyla paylaş


Report.Render Yöntem (String, String)

Processes the report and renders it in the specified format.

Ad alanı:  Microsoft.Reporting.WebForms
Derleme:  Microsoft.ReportViewer.WebForms (Microsoft.ReportViewer.WebForms.dll içinde)

Sözdizimi

'Bildirim
Public Function Render ( _
    format As String, _
    deviceInfo As String _
) As Byte()
public byte[] Render(
    string format,
    string deviceInfo
)
public:
array<unsigned char>^ Render(
    String^ format, 
    String^ deviceInfo
)
member Render : 
        format:string * 
        deviceInfo:string -> byte[] 
public function Render(
    format : String, 
    deviceInfo : String
) : byte[]

Parametreler

  • format
    Tür: 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).
  • deviceInfo
    Tür: String
    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 fe718939-7efe-4c7f-87cb-5f5b09caeff4 Device Information Settings in SQL Server Books Online.

Dönüş Değeri

Tür: array<Byte[]
A byte array of the report in the specified format.

Ayrıca bkz.

Başvuru

Report Sınıf

Render Fazla Yük

Microsoft.Reporting.WebForms Ad Alanı