Click to See Complete Forum and Search --> : VB for Art Coursework
gfurner
Jun 3rd, 2000, 05:11 PM
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!
Use the PaintPicture method.
Printer.PaintPicture Picture1.Picture, 0, 0, 100, 100
gfurner
Jun 4th, 2000, 12:38 PM
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.
When you draw the lines on the Form, you can also draw them on the printer at the same time.
Form1.Line (100, 658)-(283, 382)
Printer.Line (100,658)-(283, 382)
parksie
Jun 6th, 2000, 12:22 AM
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.
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.
gfurner
Jun 6th, 2000, 01:44 PM
Thanks, i'll let you know if it works.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.