Exports the report in the specified format.

Namespace:  Telerik.ReportViewer.WinForms
Assembly:  Telerik.ReportViewer.WinForms (in Telerik.ReportViewer.WinForms.dll)

Syntax

public void ExportReport(
	string format,
	Hashtable deviceInfo
)

Parameters

format
Type: SystemString
Export format
deviceInfo
Type: System.CollectionsHashtable
Contains parameters to pass to the rendering extension.

Examples

// Opens the dialog to export the report
private void button5_Click(object sender, System.EventArgs e)
{
    this.reportViewer1.ExportReport("PDF", null);
}

Version Information

Supported in: 1.0.1

See Also

In this article
Not finding the help you need?