Results 1 to 3 of 3

Thread: Printing Contents of a Rich Text Box

  1. #1

    Thread Starter
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657

    Question

    What is the best way to print the contents of a rich text box (or the file it displays), preserving its formatting, from VB?
    "It's cold gin time again ..."

    Check out my website here.

  2. #2
    Guest

    Use the SelPrint Method.

    Or You could set each of the Printer's Property's to match the RichTextBox's properties.
    Code:
    If RTFBox1.FontBold = True Then Printer.FontBold = True
    Or Look at this topic
    http://forums.vb-world.net/showthrea...threadid=19032

  3. #3

    Thread Starter
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657
    SelPrint does the trick. Thanks for your help!
    "It's cold gin time again ..."

    Check out my website here.

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