Nevron Rich Text is a fully resolution independent text processor and supports true WYSIWYG printing without any difference in formatting or appearance. Nevron Rich Text printing guarantees that all text content is printed exactly as it looks on the screen.
Printing
C# |
Copy Code
|
---|---|
m_RichText.Print(); |
This line of code will shows the print dialog allowing the user to specify the target printer, number of pages for printing, collation etc.
If you want to show a print dialog with preset settings you can use the second override of this method:
C# |
Copy Code
|
---|---|
NPrintDialog printDialog = new NPrintDialog(); printDialog.EnableCurrentPage = true; printDialog.NumberOfCopies = 2; printDialog.PrinterName = "Microsoft XPS Document Writer"; m_RichText.Print(printDialog, true); |