Home All Groups Group Topic Archive Search About

Printing panel/pictureBox in VB.Net

Author
13 Apr 2005 7:32 PM
EggHead
Hi all,

I have a form that has a panel. Inside the panel is a bunch of objects -
picturebox, panel and so on. I want to be able to print what is in the panel
to a printer. I can not use the capture screen routine because some of the
objects are not visible. They are placed beyond the panel wide or height.
Basically, I don't know how to print the panel.

Thanks
Egghead

Author
25 Aug 2006 10:49 PM
Duane Boldt
Check out the article at the link below.

http://www.daniweb.com/techtalkforums/thread8575.html

It is for printing forms in .NET, but you can simply replace the "Me.~" with
the "pnlMyPanel.~" (name of the panel you want to print.)

Hope that helps.