Printing contents of an RichTextbox

  • Thread starter Thread starter Urs Vogel
  • Start date Start date
U

Urs Vogel

Hi



When printing coloured text from a RichTextbox, it turns out to be a quite
and timeconsuming job to position all differently coloured strings on the
Page with DrawString(). Is there a better method of achieving this, or are
there samples somewhere? Couldn't find anything on MSDN.



Thanks, Urs
 
Urs,

Urs Vogel said:
When printing coloured text from a RichTextbox, it turns out to be a quite
and timeconsuming job to position all differently coloured strings on the
Page with DrawString(). Is there a better method of achieving this, or are
there samples somewhere?

HOW TO: Print the Content of a RichTextBox by Using Microsoft Visual Basic
..NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;811401>

Getting WYSIWYG Print Results from a .NET RichTextBox
<URL:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/wnf_RichTextBox.asp>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top