Click here to Skip to main content
15,877,168 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have windows application and I am using visual studio 2012. I need to print a form with its controls. I am using the power packs and printForm component. The problem is the form is large and scrollable so it is printing only a portion of it. Is there any way that I can print the whole form even the scrolled (hidden) part?

The code i'm using:
PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.Scrollable)
Thank you,

1 solution

Use below code:

PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.FullWindow)
Share this answer

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