Printer.Paintpicture and Picturebox.paintpicture 
Author Message
 Printer.Paintpicture and Picturebox.paintpicture

Hi

I have used the following code to print a picture, but the
output is different!
The First one will produce a good quality, but the second
one will produce a bad quality with the line in dot!

1. Printer.paintpicture Picture1, 0,0, Printer.scalewidth,
printer.scaleheight

2. Picture2.paintpicture Picture1, 0,0, Picture2.ScaleX
(Printer.ScaleWidth, Printer.ScaleMode,
Picture2.ScaleMode), Picture2.ScaleY(Printer.ScaleHeight,
Printer.ScaleMode, Picture2.ScaleMode)
Printer.Paintpicture picture2, 0,0, printer.scalewidth,
printer.scaleheight

What I am doing is, print a picture and keep the printed
output in file for reference.
That's why I put it in Picture2 (For using SavePicture)
and then print out again.
Can anyone tell me why the output is different? and how to
slove it?

Thanks!



Mon, 21 Jun 2004 10:57:30 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. paintpicture/picturebox gridlines

2. Zoom PictureBox with PaintPicture Problem

3. need help with paintpicture and picturebox

4. PictureBox.PaintPicture problem

5. PictureBox ..PaintPicture->Out of memeory

6. What is the PictureBox's paintpicture method?Can you write a sample for me?Thanks

7. Flip a Picture in PictureBox control using PaintPicture Method

8. PaintPicture - quality of compression for printer and Imagebox

9. Help for Printer.PaintPicture

10. Printer.Paintpicture problem

11. Printer.PaintPicture : Need Help !!!!!!

12. Problems with Paintpicture & Printer object in VB416

 

 
Powered by phpBB® Forum Software