adding images to the print document?

i'm not sure what method you're using?

in your sub MyDoc_PrintPage, use
VB.NET:
e.graphics.drawimage
 
VB.NET:
dim img as new bitmap(path+filename)

e.Graphics.DrawImage(img, left, top)

you'll have to try it + then figure out how to centre it
 
thats ok but how do i add the path or location of the image to draw image.
Like what is the syntax?
You should look up Graphics.DrawImage Method in documentation, this method has no more than 30 overloads with different parameters that give you all possible options to set for drawing image.
 
Back
Top