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
"jonny" <yingshen.yu@gmail.com>
??????:1180612354.420115.290120@j4g2000prf.googlegroups.com...
> have you tried the Control.DrawToBitmap method?
>
[quoted text clipped - 3 lines]
>>
>> There is a control in .NET 2.0 could meet my requirement? Thx
Tim Van Wassenhove - 01 Jun 2007 20:37 GMT
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/)

Signature
Tim Van Wassenhove - Read my mind <url:http://www.timvw.be/>