JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Printing with the Printing Example

The support for printing has become fairly elaborate in Visual Basic, including all kinds of new objects and dialogs. To bring it all together, I've created the Printing example on the CD-ROM; you can see this example at work in Figure 9.21. By selecting various options in the File menu, you can see how Page Setup, Print Preview, Custom Print Preview, and Print dialogs look and work. This example includes a multipage print document that displays a red rectangle on the first page (which you can see in the Print Preview dialog in Figure 9.8) and a blue rectangle on the second page. The rest of this chapter is based on the Printing example program.

Figure 9.21: The Printing example.
Previous Section Next Section

JavaScript Editor Free JavaScript Editor     JavaScript Editor