Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ReportViewer.PageSetupDialog Method

Visual Studio 2010

Opens the page setup dialog box.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
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.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.