The PrinterDriverException Class is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
The exception that is thrown when a printing error occurs.Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class PrinterDriverException Inherits Leadtools.LeadtoolsException Implements _Exception, ISerializable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As PrinterDriverException |
C# | |
---|---|
[SerializableAttribute()] public class PrinterDriverException : Leadtools.LeadtoolsException, _Exception, ISerializable |
C++/CLI | |
---|---|
[SerializableAttribute()] public ref class PrinterDriverException : public Leadtools.LeadtoolsException, _Exception, ISerializable |
The PrinterDriverException class defines a Code property that you can examine to determine what caused the error.
Default messages are implemented for each Code, you can however modify any message through the GetCodeMessage and SetCodeMessage methods.
System.Object
System.Exception
Leadtools.LeadtoolsException
Leadtools.Printer.PrinterDriverException
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7