does anyone know the code to print an image in vb?
soul_guardian Member Joined May 27, 2004 Messages 49 Gender Undisclosed HSC 2005 Jun 9, 2004 #1 does anyone know the code to print an image in vb?
J J0n N/A Joined Aug 28, 2003 Messages 410 Gender Male HSC 2004 Jun 9, 2004 #2 Well an easy way is to Load the picture into a PictureBox, say Picture1 (using LoadPicture()), then: Printer.PaintPicture Picture1.Image, 0, 0 Printer.EndDoc To print the picture.
Well an easy way is to Load the picture into a PictureBox, say Picture1 (using LoadPicture()), then: Printer.PaintPicture Picture1.Image, 0, 0 Printer.EndDoc To print the picture.
soul_guardian Member Joined May 27, 2004 Messages 49 Gender Undisclosed HSC 2005 Jun 10, 2004 #3 thnx alot JOn