Printing the entire UserControl - as is..

R

Raj

Hi,

In my windows application, I have a form and I placed an UserControl on
the form. I placed lot of edit controls on the UserControl.

Is there a way to print the entire UserControl just as it appears on
screen? This is something similar to Print Screen functionality, which
captures the whole screen as an image. But I want to capture just part
of the screen, which is usercontrol. If the usercontrol has scrollbars,
I want to include the hidden portion as well in the print
functionality.

Basically, I want to have a button on the form with a caption "Print
Page", that should capture the entire UserControl as an image including
any hidden scrollbar region and send it to the printer.

Is this possible? Any ideas..

Thanks,
Raj
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top