|
-
Jun 3rd, 2000, 05:11 PM
#1
Thread Starter
Junior Member
I've created a program that creates random patterns, but i don't know how to print it out on a printer.
Please help, I need it for my art coursework!
Please visit my website http://www.geocities.com/perfectlyperfect2000
For a Gamer, Programming is the Ultimate Game
-
Jun 3rd, 2000, 10:19 PM
#2
Use the PaintPicture method.
Code:
Printer.PaintPicture Picture1.Picture, 0, 0, 100, 100
-
Jun 4th, 2000, 12:38 PM
#3
Thread Starter
Junior Member
I take it 0, 0, 100, 100 are co-ordinates, well there is a small problem, the lines are random, and there are an unknown number of lines. So how would i do that?
Isn't there a way i can say print form, instead of each line seperately.
Please visit my website http://www.geocities.com/perfectlyperfect2000
For a Gamer, Programming is the Ultimate Game
-
Jun 5th, 2000, 02:18 AM
#4
When you draw the lines on the Form, you can also draw them on the printer at the same time.
Code:
Form1.Line (100, 658)-(283, 382)
Printer.Line (100,658)-(283, 382)
-
Jun 6th, 2000, 12:22 AM
#5
Monday Morning Lunatic
as long as you keep in mind that the dots on your printer are going to be a hell of a lot smaller than the dots on the form...you're fine.
-
Jun 6th, 2000, 02:21 AM
#6
Not much smaller. If you want, you can make the Pixel double the size on the screen by placing a Pixel beside and on top when you use the SetPixel. But don't worry to much about it. It's not much smaller.
-
Jun 6th, 2000, 01:44 PM
#7
Thread Starter
Junior Member
Thanks, i'll let you know if it works.
Please visit my website http://www.geocities.com/perfectlyperfect2000
For a Gamer, Programming is the Ultimate Game
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
|