CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2005
    Posts
    1

    Print Rich Text from a RichTextBox in C-Sharp

    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

  2. #2
    Join Date
    Aug 2005
    Posts
    10

    Re: Print Rich Text from a RichTextBox in C-Sharp

    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..

  3. #3
    Join Date
    Jul 2005
    Posts
    4

    Re: Print Rich Text from a RichTextBox in C-Sharp

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured