O'Reilly logo

A Programmer's Guide to .NET by Alexei Fedorov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Table 11.2. The main classes in the System.Drawing.Printing namespace and what they do
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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required