JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Custom Print Previews

You can use a PrintPreviewControl to display a PrintDocument as it will appear when printed. Note that this control has no buttons or other user interface elements, so you usually use this control only if you wish to write your own print preview user interface. You can see a print preview control at work in Figure 9.9 from the Printing example on the CD-ROM. Here, the control is showing the first page that the Printing example prints out, which just displays a red rectangle.

Figure 9.9: A Print Preview control.
Previous Section Next Section

JavaScript Editor Free JavaScript Editor     JavaScript Editor