|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Printing Windows FormsI 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! "microsoft.public.dotnet.framework.windowsforms" <anonym***@devdex.com> Where did you get this utility?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. 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. 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! |
|||||||||||||||||||||||