|
-
Jun 28th, 2000, 05:50 PM
#1
Thread Starter
New Member
When I have a rich text box on the form, how can I place it on my Printer object so that I can control where the text in it is printed? I can control where graphics go using Printer.PaintPicture, but Printer.Print doesn't provide any way of positioning text. Would I be better off using a different control than a rich text box?
Thanks for any help (desperate!).
-
Jun 28th, 2000, 06:00 PM
#2
Fanatic Member
You lot really have no idea how hard it is to use the printer in VB. I would look into a third party priniting control if i was you.
This thread covers the basics though it does not take into account Bold, Italics and text centering etc.
I am in the middle of writing an algorithim that will though.
Iain, thats with an i by the way!
-
Jun 28th, 2000, 06:22 PM
#3
Fanatic Member
Or even better check out This Tip. I'm ashamed to say that it pisses all over mine.
Iain, thats with an i by the way!
-
Jun 28th, 2000, 06:26 PM
#4
Thread Starter
New Member
Thank you very much for the help. Don't be so hard on yourself! That code looked very good. Will I be able to use these to control where the text boxes are placed on the printed document, or only how the text inside the boxes is printed?
Thanks again.
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
|