Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Well, I have a textbox and a print button. I want when a user will click on the print button, the pagesetup appears to print the textbox details according to the user.

What is the code to do this?
Posted

1 solution

There's a good example of using PageSetupDialog in the documentation: http://msdn.microsoft.com/en-us/library/system.windows.forms.pagesetupdialog.aspx[^]
 
Share this answer
 
v2

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