Method ExecutePrintPreviewDialog
ExecutePrintPreviewDialog(DependencyObject)
When implemented by a class, initializes and runs print preview dialog.
bool ExecutePrintPreviewDialog(DependencyObject ownerwnd)
Parameters
ownerwnd
DependencyObjectAny object that represents the top-level window that will own the modal dialog box.
Returns
- bool
True if the user clicks OK in the dialog box; otherwise false.