Skip to main content
A newer version of this page is available. .

PrintableComponentLink.PrintDlg() Method

Displays the standard Print dialog and prints the current document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v18.2.dll

Declaration

public void PrintDlg()

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.

PrintDialog

Note

Changing page settings in the Print Dialog does not recreate the current document and affects only the printing result.

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.

See Also