- Home
·
- Graphics
·
- Shows how to Print a Image or Picture and have it centered on the page
Shows how to Print a Image or Picture and have it centered on the page
Shows how to Print a Image or Picture and have it centered on the page
Rate Shows how to Print a Image or Picture and have it centered on the page
(1(1 Vote))
'If you don't want it centered, take out the next 3 lines
Printer.ScaleMode = vbCentimeters
Picture1.ScaleMode = vbCentimeters
Printer.CurrentX = (Printer.ScaleWidth / 2) - (Picture1.ScaleWidth / 2)
Printer.PaintPicture Form1.Picture1, Printer.CurrentX, Printer.CurrentY
Printer.EndDoc
Shows how to Print a Image or Picture and have it centered on the page Comments
No comments yet — be the first to post one!
Post a Comment