Click here to Skip to main content
16,004,974 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am using windows form. I want to Print a form. how can I do that? can I anyone help me in this
(I already have a form)
Posted
Updated 6-May-14 19:57pm
v2

 
Share this answer
 
Comments
Maciej Los 7-May-14 2:38am    
Interesting link, +5!
DamithSL 7-May-14 2:41am    
Thanks Maciej
There is a PrintForm class[^] which enables printing an image of a Windows Form at run time.

Instead printing a form, i'd suggest to print data using PrintDocument Class[^]
 
Share this answer
 
v2
Comments
DamithSL 7-May-14 2:46am    
As far as I know PrintForm is from Microsoft.VisualBasic.PowerPacks.Printing, it may be possible to use in C# project. but I would use C# alternative :) my5!
Maciej Los 7-May-14 2:52am    
Yeah, it's possible to use with C# project, but needs reference to MS VisualBasic.PowerPacks.
Thank you ;)
 
Share this answer
 
v2
Comments
Maciej Los 7-May-14 2:39am    
Do you see asp.net tag? I don't. Please, improve your answer to avoid downvoting.

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