Windows Forms Programming in Visual Basic .NET

The nucleus around which the entire .NET printing architecture revolves is the print document. It's the one that initiates the printing process, fires the print events (through the use of a print controller), holds the page and printer settings, and gathers the drawing commands for rendering to the printer or to the preview control. You implement the actual drawing using the Graphics object, as discussed in Chapters 4, 5, and 6, and this drawing is governed by the settings held by the print document.

Категории