Click to See Complete Forum and Search --> : How do I send the Contents of Picture box to the Printer ?


November 5th, 1999, 09:16 AM
I am having a picture box in which I had drawn some graphics using the Line methods and printed some text using the TextOut API. Now how do I print the information present in it on to the printer.

Pavan Kalyan

Aaron Young
November 5th, 1999, 09:11 PM
Like this:

Printer.PaintPicture Picture1.Image, 0, 0

For this to include the graphics you added at runtime, be sure to use a Picturebox with the AutoRedraw Property Set to True so that your Changes are Persistent.

Aaron Young
Analyst Programmer
adyoung@win.bright.net
aarony@redwingsoftware.com