The System.Drawing.Printing namespace contains nearly all of the classes that are used to print text and graphics. Note that print preview functionality is provided by PrintPreviewControl, which is part of the System.Windows. Forms namespace. Table 11.2 shows some of the main classes found in the System.Drawing.Printing namespace.
|PageSettings||Specifies settings for one printed page.|
|PaperSize||Specifies the characteristics (width, height, type) of a piece of paper.|
|PreviewPageInfo||Specifies the print preview information for one printed page.|
|PrintController||Controls the document printing process.|
|PrintDocument||Main printing ...|