←Select platform

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 Leadtools.LeadtoolsException 
   Implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable  
[SerializableAttribute()] 
public ref class PrinterDriverException : public Leadtools.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Printer Assembly