Vb.net – how do i print the form


I need to print an image of my VB.Net Windows.Form when the user clicks a button. Is there a good method for doing this?

Best Solution

You need to use the PrintForm component. Please see How to: Print a Form by Using the PrintForm Component:

The PrintForm component enables you to quickly print an image of a form exactly as it appears on screen without using a PrintDocument component. The following procedures show how to print a form to a printer, to a print preview window, and to an Encapsulated PostScript file.

Related Question