NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

System.Drawing.Printing Namespace

Classes

Class Description
InvalidPrinterException Represents the exception that is thrown when trying to access a printer using invalid PrinterSettings.
Margins Specifies the margins of a printed page.
MarginsConverter Provides a type converter to convert Margins to and from various other representations.
PageSettings Settings that apply to a single page.
PaperSize The size of a piece of paper.
PaperSource Specifies the paper tray from which the printer gets paper.
PreviewPageInfo Specifies print preview information for a single page. This class cannot be inherited.
PreviewPrintController A PrintController which "prints" to a series of images.
PrintController A PrintController controls how a PrintDocument is printed-- how a bunch of PrintPageEventArgs's are turned into actual printer output. PrintDocument.Print invokes PrintController.StartPrint, EndPrint, StartPage, and EndPage, which in turn tell the printer what to print. Print preview uses a specialized PrintController; most users will never need to touch a PrintController.
PrintDocument Defines a reusable object that sends output to the printer.
PrinterResolution Retrieves the custom resolution supported by a printer.
PrinterSettings Information about how a document should be printed, including which printer to print it on.
PrinterSettings.PaperSizeCollection Collection of PaperSize's...
PrinterSettings.PaperSourceCollection Collection of PaperSource's...
PrinterSettings.PrinterResolutionCollection Collection of PrinterResolution's...
PrinterSettings.StringCollection Collection of String's...
PrinterUnitConvert Specifies a series of conversion methods that are useful when interoperating with the raw Win32 printing API. This class cannot be inherited.
PrintEventArgs Provides data for the OnBeginPrint and OnEndPrint events.
PrintPageEventArgs Provides data for the OnPrintPage event.
QueryPageSettingsEventArgs Provides data for the System.Drawing.Printing.PrintDocument.QueryPageSettings event.
StandardPrintController Specifies a print controller that sends information to a printer.

Delegates

Delegate Description
PrintEventHandler Represents the method that will handle the System.Drawing.Printing.PrintDocument.BeginPrint, System.Drawing.Printing.PrintDocument.EndPrint, or System.Drawing.Printing.PrintDocument.QueryPageSettings event of a PrintDocument.
PrintPageEventHandler Represents the method that will handle the System.Drawing.Printing.PrintDocument.PrintPage event of a PrintDocument.
QueryPageSettingsEventHandler Represents the method that will handle the System.Drawing.Printing.PrintDocument.QueryPageSettings event of a PrintDocument.

Enumerations

Enumeration Description
Duplex Specifies the printer's duplex setting.
PaperKind Specifies the standard paper sizes.
PaperSourceKind Standard paper sources.
PrinterResolutionKind Specifies a printer resolution.
PrinterUnit Specifies several of the units of measure Win32 uses for printing.
PrintRange Specifies the option buttons in the print dialog box that designate the part of the document to print.