I have to use the common dialog box to print a picture box, and I have some idea of how to do it, but can't really get it to work.
Could someone help?
Printable View
I have to use the common dialog box to print a picture box, and I have some idea of how to do it, but can't really get it to work.
Could someone help?
Here is the code I use to do so...
Printer.PaintPicture Picture1.Picture, _
(Printer.ScaleWidth - _
Picture1.ScaleWidth) / 2, _
(Printer.ScaleHeight - Picture1.ScaleHeight)_
/ 2
Printer.EndDoc
Tipi