11.9. Printing
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.
Class | Description |
---|---|
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 ... |
Get A Programmer's Guide to .NET 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.