Export (0) Print
Expand All

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.

Show:
© 2014 Microsoft