Tim
Wed Jan 10 12:39:09 CST 2007
avanti schreef:
> HI,
>
> I have an app that has a form with scrollable controls. So, I cannot
> make a bitmap from the printscreen and print it since all the content
> and controls are not visible at the same time.
>
> Is there a way in C# to print such a form - printing the whole content?
You could try to maximize your Control (using the PreferredSize), here
is an example of such an implementation:
http://www.timvw.be/wp-content/code/csharp/ResizedControlPrintPageEventHandler.txt
Be aware of the fact that this doesn't work when Docking is used so you
might want to refine your approach...
--
Tim Van Wassenhove <url:
http://www.timvw.be/>