PrinterDriverException Class

Summary

The exception that is thrown when a printing error occurs.

Syntax
C#
VB
C++
[SerializableAttribute()] 
public class PrinterDriverException : LeadtoolsException 
  
<SerializableAttribute()> 
Public Class PrinterDriverException  
   Inherits LeadtoolsException 
   Implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable  
[SerializableAttribute()] 
public ref class PrinterDriverException : public LeadtoolsException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable   

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.

Example

For an example, refer to Printer.Install example.

Requirements

Target Platforms

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Printer Assembly