PDA

Click to See Complete Forum and Search --> : printing an image file


shootsnlad
Sep 26th, 2002, 10:53 AM
I am writing a program where I am using a variable of type image. I have an image stored in it. Now, all I need to do is to print the image in that image variable to the printer. I know I have to use the PrintDocument object, but I can not figure out how to do it. Thanks for the help!

shootsnlad

maged
Oct 8th, 2005, 07:50 PM
this is a very old post , but i am still interesting in it

does any one knows How ?????

jmcilhinney
Oct 8th, 2005, 09:39 PM
The "e" argument to the PrintPage event handler of a PrintDocument has a Graphics property that is used to draw objects on the print surface. You just call the DrawImage method of that object.