Click to See Complete Forum and Search --> : Print Rich Text from a RichTextBox in C-Sharp


eric_29
August 20th, 2005, 01:48 PM
Anyone knows of a good routine to print the content of an richtextbox?
IŽd like to print and preview from a richtextbox with different text formats, sizes, colours etc.
The problem I'm encountring is that always print and preview with text plane.
Any examples/suggestions welcome

silibug
August 24th, 2005, 03:06 AM
i'm also wanna know this too..

how to create RTF string format from user input and view it on richtextbox...
like they did in YM dan others messengers...

Thanks.. :)

PramodYadav
October 13th, 2005, 08:42 AM
Hi eric,

i would like to know what are you using for Print Preview and Print

there are two methods for this that i have used

one is the scan each character and drawing each character
using the DrawString() method with it's Font, Size and Color

another is to use the extended Richtextbox i.e RichTextBoxEx

u can look for this in the MSDN

Hope that works for you

Thanks

Pramod