Home All Groups Group Topic Archive Search About
Author
21 Nov 2004 6:28 PM
microsoft.public.dotnet.framework.windowsforms
I am developing a Windows application (Visual Studio .Net)in which I
need to view calculated data on a given Windows Form using the Paint
method.  No problem with that, but how to manage printing of the Form's
content when the information is too long for just one page (Letter
format)?
To print the form, I am using the demo PrintForm.Net utility.
Many thanks for your help?

Michael Landry
Canada

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Author
21 Nov 2004 7:02 PM
Herfried K. Wagner [MVP]
"microsoft.public.dotnet.framework.windowsforms" <anonym***@devdex.com>
schrieb:
>I am developing a Windows application (Visual Studio .Net)in which I
> need to view calculated data on a given Windows Form using the Paint
> method.  No problem with that, but how to manage printing of the Form's
> content when the information is too long for just one page (Letter
> format)?
> To print the form, I am using the demo PrintForm.Net utility.

Where did you get this utility?

If you have the source code of the utility, you can set 'e.HasMorePages' to
'True' in the 'PrintDocument's 'PrintPage' event if the form is larger than
the page.  This will cause the 'PrintPage' event handler to be called again.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Author
22 Nov 2004 1:28 AM
microsoft.public.dotnet.framework.windowsforms
The demo is available at the following Web site:
www.winformreports.co.uk
I don't have the source code.  However, I will try your proposed
solution.  I am not sure if this will work.
Thanks!

Michael Landry
Canada

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

AddThis Social Bookmark Button