ReportViewer.PageSetupDialog Method ()

 

Opens the page setup dialog box.

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

Syntax

public DialogResult PageSetupDialog()
public:
DialogResult PageSetupDialog()
member PageSetupDialog : unit -> DialogResult
Public Function PageSetupDialog As DialogResult

Return Value

Type: System.Windows.Forms.DialogResult

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

ReportViewer Class
Microsoft.Reporting.WinForms Namespace

Return to top