Method ExecutePageSetupDialog
ExecutePageSetupDialog()
Initializes and runs page setup dialog.
public virtual DialogResult ExecutePageSetupDialog()
Returns
- DialogResult
DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.
ExecutePageSetupDialog(IWin32Window)
Initializes and runs page setup dialog.
public virtual DialogResult ExecutePageSetupDialog(IWin32Window ownerwnd)
Parameters
ownerwnd
IWin32WindowAny object that implements IWin32Window that represents the top-level window that will own the modal dialog box.
Returns
- DialogResult
DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.