How to print a RichTextBox or Any thing with a horizontal lines?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kaushalgajjar
    New Member
    • Oct 2007
    • 7

    How to print a RichTextBox or Any thing with a horizontal lines?

    Hi,

    I am into a trouble since 1 week and unable to find the solution from any community or site. I have created a small program that i want to print along with horizontal lines (like a notebook lined paper) . I have each line with 3 mixed fonts randomly generated so i have used RichTextBox control. everything is working fine.

    Now i want to know how do i add a line into the RichTextBox or How do i Print along with Lines. the purpose is to take a printout along with lines.

    If it is not possible what should i do to take print out along with lines?

    I have tried to implement PDF file and tried to process with it but i was unable.




    Regards,
    Kaushal
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    How about a whole line of -? or _?
    Or just set the font to Underline?

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Perhaps you are using a wrong control.
      @.NET Experts
      Isn't there a control that displays HTML?

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        Originally posted by r035198x
        Perhaps you are using a wrong control.
        @.NET Experts
        Isn't there a control that displays HTML?
        The webbrowser control does. But it's sketchy. Its a wrapped ActiveX instance of IE.

        Comment

        Working...