officefileapi-devexpress-dot-xtrarichedit-dot-richeditdocumentserver-bd2f9a32.md
Prints the document to the default printer with the default settings.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
public void Print()
Public Sub Print
The Print method prints the document to the system default printer.
Use other Print method overloads to print the document with the specific settings (define the number of copies, enable double-sided printing, etc. )
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.
word-document-api-print-documents/CS/Program.cs#L37
}
server.Print();
}
word-document-api-examples/CS/CodeExamples/BasicActions.cs#L94
// Print the document to the default printer with the default settings.
wordProcessor.Print();
#endregion #PrintDocument
word-document-api-print-documents/VB/Program.vb#L25
Next
server.Print()
End Using
word-document-api-examples/VB/CodeExamples/BasicActions.vb#L89
' Print the document to the default printer with the default settings.
wordProcessor.Print()
#End Region ' #PrintDocument
See Also