Поделиться через


ReportViewer.ExportDialog Method (RenderingExtension)

Opens in the Exporting dialog box for a specific rendering extension.

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

Syntax

'Declaration
Public Function ExportDialog ( _
    extension As RenderingExtension _
) As DialogResult
'Usage
Dim instance As ReportViewer
Dim extension As RenderingExtension
Dim returnValue As DialogResult

returnValue = instance.ExportDialog(extension)
public DialogResult ExportDialog (
    RenderingExtension extension
)
public:
DialogResult ExportDialog (
    RenderingExtension^ extension
)
public DialogResult ExportDialog (
    RenderingExtension extension
)
public function ExportDialog (
    extension : RenderingExtension
) : DialogResult

Parameters

  • extension
    The 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).

Return Value

Cancel if the user clicked the Cancel button; Abort if the export operation failed; otherwise, OK.

Remarks

Invoking this method is equivalent to a user selecting an export format from the Export drop-down list on the toolbar.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace