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!

InvalidPrinterException Class

Represents the exception that is thrown when trying to access a printer using invalid PrinterSettings.

Object
   Exception
      InvalidPrinterException

[Visual Basic]
Public Class InvalidPrinterException
   Inherits Exception
[C#]
public class InvalidPrinterException : Exception
[C++]
public __gc class InvalidPrinterException : public Exception
[JScript]
public class InvalidPrinterException extends Exception

Remarks

The most common cause of invalid PrinterSettings is referencing a printer which doesn't exist.

Requirements

Namespace: System.Drawing.Printing

Assembly: System.Drawing.dll

See Also

InvalidPrinterException Members | System.Drawing.Printing Namespace