ReportViewer.PageSetupDialog Method
Opens the page setup dialog box.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
Syntax
'Declaration
Public Function PageSetupDialog As DialogResult
'Usage
Dim instance As ReportViewer
Dim returnValue As DialogResult
returnValue = instance.PageSetupDialog
public DialogResult PageSetupDialog ()
public:
DialogResult PageSetupDialog ()
public DialogResult PageSetupDialog ()
public function PageSetupDialog () : DialogResult
Return Value
A DialogResult enumeration value. Possible values are OK and Cancel depending on how the user closed the dialog box.
Remarks
Invoking this method is functionally equivalent to clicking the Page Setup button on the control's toolbar. The current value of GetPageSettings is used to initialize the dialog.
See Also
Reference
ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace