|
-
Oct 17th, 2006, 08:32 AM
#1
Thread Starter
Lively Member
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".
-
Oct 17th, 2006, 08:37 AM
#2
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...
-
Oct 17th, 2006, 08:47 AM
#3
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|