October 2003
Intermediate to advanced
736 pages
15h 25m
English
The basic unit of printing in WinForms is the print document. A print document describes the characteristics of what's to be printed, such as the title of the document, and provides the events at various parts of the printing process, such as when it's time to print a page. .NET models the print document using the PrintDocument component from the System.Drawing.Printing namespace (and available on the VS.NET Toolbox):
Class PrintDocument Inherits Component Implements IComponent Implements IDisposable ' Constructors Public Sub New() ' Properties Property DefaultPageSettings() As PageSettings Property DocumentName() As String Property PrintController() As PrintController Property PrinterSettings() As PrinterSettings ' Events Event ...