How to print a panel?

  • Thread starter Thread starter zlf
  • Start date Start date
Z

zlf

Hi, I have many content panels in my application, client asks me to add a
print button in those panels. Once clicked, the content of panels will be
printed out.

There is a control in .NET 2.0 could meet my requirement? Thx
 
Thank you first of all.
It works but cannot completely meet my requirement. In the case of the size
of panel is large and screen cannot show whole of it, only the content
presented in screen is rendered to Image. If there is a way to draw all the
image of a specified panel to Image/Bitmap? Thank you
 
zlf schreef:
Thank you first of all.
It works but cannot completely meet my requirement. In the case of the size
of panel is large and screen cannot show whole of it, only the content
presented in screen is rendered to Image. If there is a way to draw all the
image of a specified panel to Image/Bitmap? Thank you

Afaik there are two options: Resize the image so that it fits on one
page, or implement your printer routing so that it 'divides' the image
over multiple pages (eg: http://www.timvw.be/print-a-control/)
 
Back
Top