LEADTOOLS Virtual Printer (Leadtools.Printer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
PrinterDriverException Class
See Also  Members  
Leadtools.Printer Namespace : PrinterDriverException Class



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.

Object Model

PrinterDriverException Class

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Class PrinterDriverException 
   Inherits Leadtools.LeadtoolsException
   Implements _ExceptionISerializable 
Visual Basic (Usage)Copy Code
Dim instance As PrinterDriverException
C# 
[SerializableAttribute()]
public class PrinterDriverException : Leadtools.LeadtoolsException, _ExceptionISerializable  
C++/CLI 
[SerializableAttribute()]
public ref class PrinterDriverException : public Leadtools.LeadtoolsException, _ExceptionISerializable  

Example

For an example, refer to Printer.Install example.

Remarks

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.

Inheritance Hierarchy

System.Object
   System.Exception
      Leadtools.LeadtoolsException
         Leadtools.Printer.PrinterDriverException

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Printer requires a Printer module license and unlock key. It is included as part of LEADTOOLS Document Imaging Enterprise. For more information, refer to: Imaging Pro/Document/Medical Features