Printing Text from textbox
I am trying to develop a program that will print the text from the text box a certain distance from the top of the page. How would I accomplish this?
Example...
The user inputs text and the is another textbox where the user will put the line number the the printing will begin. Let's say line 1 with start at 5.35" down the page, line 2 will start 6".
Re: Printing Text from textbox
You can manupulate postions utilizing some of Printer properties:
Printer.Height
Printer.Width
Printer.CurrentY
Printer.CurrentX
Printer.TextWidth
Printer.TextHeight
Printer.FontName
Printer.FontSize
etc...
Re: Printing Text from textbox
Also, you will [most definitely :) ] need some text wrapping logic because Printer object doesn't do that automatically. I think we have some sample code available arround here but let me know if you can't find any...