Method ExecutePrintDialog
ExecutePrintDialog()
When implemented by a class, initializes and runs print dialog.
DialogResult ExecutePrintDialog()
Returns
- DialogResult
DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.
ExecutePrintDialog(IWin32Window)
When implemented by a class, initializes and runs print dialog.
DialogResult ExecutePrintDialog(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.