PrintableComponentLink.PrintDlg() Method
Displays the standard Print dialog and prints the current document.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.XtraPrinting.v18.2.dll
Declaration
Remarks
This method displays the standard Print dialog that allows an end-user to print the document, as well as select the printer, specify the range of pages to print, the number of copies, etc.
The following image shows the standard Print dialog.
Note
Changing page settings in the Print Dialog does not recreate the current document and affects only the printing result.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PrintDlg() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.