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.

No comments: