ReportViewer.ExportDialog Method (RenderingExtension, String)
Opens in the export dialog box for a specific rendering extension.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
public DialogResult ExportDialog(
RenderingExtension extension,
string deviceInfo
)
public:
DialogResult ExportDialog(
RenderingExtension^ extension,
String^ deviceInfo
)
member ExportDialog :
extension:RenderingExtension *
deviceInfo:string -> DialogResult
Public Function ExportDialog (
extension As RenderingExtension,
deviceInfo As String
) As DialogResult
Parameters
extension
Type: Microsoft.Reporting.WinForms.RenderingExtensionThe rendering extension to use for the export.
Typically, youTo access the list of available rendering extensions, use using the ListRenderingExtensions method in ServerReport or LocalReport, depending on the processing mode (see ProcessingMode).
deviceInfo
Type: System.StringAn 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.
Return Value
Type: System.Windows.Forms.DialogResult
Cancel if the user clicked the Cancel button; Abort if the export operation failed; otherwise, OK.
Remarks
Invoking this method is similar to a user selecting an export format from the Export drop-down list on the toolbar.
See Also
ExportDialog Overload
ReportViewer Class
Microsoft.Reporting.WinForms Namespace
Return to top