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

LinkBase.PrintDirect() Method

Prints the current document to a default printer.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v18.2.dll

Declaration

public void PrintDirect()

Remarks

Use the PrintDirect method without parameters, to immediately send the document to a default printer, and the PrintDirect method with the queue parameter, to send the document to a specific printer.

Also, you can use the LinkBase.Print method to print the document using custom printing settings, specified by an end-user via the Print dialog.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PrintDirect() 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