Completes the control sequence that determines when and how to print a document.
Syntax
Parameters
- document
- A System.Drawing.Printing.PrintDocument that represents the document being printed.
- e
- A System.Drawing.Printing.PrintEventArgs that contains data about how to print the document.
Exceptions
Exception | Description |
System.ComponentModel.Win32Exception | The native Win32 Application Programming Interface (API) could not complete the print job.-or- The native Win32 API could not delete the specified device context (DC). |
See Also