Click here to Skip to main content
15,908,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys, I need some help or direction in approaching this issue i have on hand. Recently, i was able to print the winform as shown below.
However, i now wish to be able to print only the contents which means i do not want the borders and the button to be present in the final document. Is there any way to approach this problem?
Any help is very much appreciated.

What I have tried:

Imgur: The magic of the Internet[^]
Posted
Updated 15-Nov-18 22:02pm

1 solution

Then you need to use a PrintDocument class instance: PrintDocument Class (System.Drawing.Printing) | Microsoft Docs[^] It gives you full control over what is printed, where, and how it appears.
 
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