Click here to Skip to main content
15,898,740 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Everyone..
In my windows form application (by visual studio 2008,.Net framework 3.5) i want to print the whole page but here scroll bars have appeared. Now for vertical case when i print the page the upper portion prints well but the lower portion does not. and for horizontal case left portion prints but not right portion.Is there any solution to overcome this problem?

Thanking you
Posted

1 solution

Depends how you are doing it in the first place, but to be honest if you are trying to print an exact copy of your form, then your will get scrolled-out-of-view data printed if it is displayed that way.

Instead, use a PrintDocument, and print the information properly rather than printing the form content. It may take you a couple of hours longer the first time, but you will get a much, much more professional result.
 
Share this answer
 
Comments
krushna chandra jena 17-Jul-12 5:49am    
But my form contain to much of data and i have to print the whole document,so i don't have any other choice to print that page...
any more suggestion please.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900