|
|
Title | Show a print preview for a RichTextBox that uses multiple fonts |
Keywords | RichTextBox, scroll, line, print, preview |
Categories | Controls, Graphics |
|
|
Use the control's SelPrint method to "print" the text into a PictureBox. Display the result.
Thanks to Herman Liu.
|
|
Form1.RichTextBox1.SelPrint frmDocPreview.picX.Hdc
|
|
|
|
|
|