Microsoft .Net Framework Interview questions and answers FAQ's,
.Net 2.0, .Net 3.0, .Net 3.5,
WPF - WCF, C#.NET, ASP.Net, VB.Net,ADO.Net, Web & desktop development questions.
Tuesday, May 13, 2008
Explain how to use the PrintPreviewDialog control to display a preview of a printed document before it is printed.
You display a preview of a printed document with the PrintPreviewDialog control by first setting the PrintDocument property of the PrintPreviewDialog instance to the PrintDocument you want to preview, then by calling the PrintPreviewDialog.Show command to display the dialog box.