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

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:
VB
PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.Scrollable)
Thank you,
Missa
Posted

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