Where Are We?

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.

Get Windows Forms Programming in C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.