Skip to main content

RichEditDocumentServer.Print() Method

Prints the document to the default printer with the default settings.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v23.2.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public void Print()

Remarks

The Print method prints the document to the system default printer.

Use the Print method override to print the document with the specific settings (define the number of copies, enable double-sided printing, etc. )

Warning

The Print method works only on Windows OS. The PlatformNotSupportedException is thrown on other operating systems.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Print() 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