RichEditControl.Print(PrinterSettings, String) Method
Prints the document with the given printer settings and document name.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.XtraRichEdit.v24.2.dll
NuGet Package: DevExpress.Win.RichEdit
#Declaration
public void Print(
PrinterSettings printerSettings,
string printDocumentName
)
#Parameters
Name | Type | Description |
---|---|---|
printer |
Printer |
A Printer |
print |
String | A string indicating the document name to be printed. |
#Remarks
Call the Print method to specify the desired options (define the printer name, the number of copies, the paper size, enable double-sided printing, etc.) to print the target document.
Note
Printer