Question Locked

printing a picture box in vb 6.0

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
i tried to print a form using form2.print but the contents of the picture box are not printed.What shall i do?

2 replies

by sil.somnathsil

Here is the sample code

Printer.Print
VB.Printer.Scale (0, 0)-(200, 500)
Printer.ScaleMode = vbInches
Printer.CurrentX=50: Printer.CurrentY = 100
'for the position of the picture on paper
Printer.PaintPicture Picture1.Picture, 2, 9
Printer.EndDoc

This discussion is closed to new replies.