June 2003
Intermediate to advanced
800 pages
34h 20m
English
You want to use an on-screen preview that shows how a printed document will look.
Use the PrintPreviewControl or PrintPreviewDialog.
As described earlier, the code used to print a document to a page is almost identical to the code used to draw graphics on a window. This makes it possible for you to create code that can print or draw a print preview with equal ease. However, you don’t need to go to this extra step because .NET already provides a control that can take a print document, run your printing code, and use it to generate a graphical on-screen preview. In fact, .NET provides two such controls: PrintPreviewDialog, which shows a preview in a standalone window, and PrintPreviewControl ...
Read now
Unlock full access