This documentation is archived and is not being maintained.
How to: Display the PrintDialog Component
.NET Framework 3.0
Thecomponent is the standard Windows print dialog box that many of your users will be familiar with. Because your users will be immediately comfortable with it, it would be beneficial for you to use the PrintDialog component.
To display the PrintDialog component
Call themethod from within the code of your application.
Once the component is shown, users will interact with it, setting the properties of the print job. These are saved in theclass (and the class, if the user accesses the through the PrintDialog component) associated with that print job. You can then make calls to the properties they set to determine the specifics of the print job.