im using this code to print a picture box
Code:Picture1.Picture = LoadPicture("C:\scans\5.bmp") Printer.PaintPicture Picture1.Picture, -500, 800, Picture1.Width * 0.4, Picture1.Height * 0.3
the image file dimensions are 296 x 420. my problem is i cant get the width and height correct cause i want to shrink the image to about an inch high and 3/4 inch wide. when i use the above it is like the image is not centered. i dont mean the x & y cordinates but the image itself is to the left. hope that makes sense.




Reply With Quote