Results 1 to 2 of 2

Thread: Okay FINE ya damn dinky print function

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2002
    Posts
    518

    Okay FINE ya damn dinky print function

    Regarding multiple column printing of "pretty" text:

    I modified the C# .DLL that Martin Müller wrote that extends the RichTextBox control and adds a print renderer that allows it to print "rich text", and added parameters to the function call so that it accepts a Left and Right edge for the render area, so you could have as many columns as you like and have them render and linewrap properly. In some ways it's actually simpler to use than the default print renderer (MeasureString + DrawString) although there's a bit of cleanup necessary when the print job finishes. Attached is the DLL project itself and follows is an example.
    Attached Files Attached Files

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