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



printerInfo
Printer information that was used when installing the printer to the system.

The UnInstall Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

printerInfo
Printer information that was used when installing the printer to the system.
Uninstalls the printer from the system.

Syntax

Visual Basic (Declaration) 
Public Shared Sub UnInstall( _
   ByVal printerInfo As PrinterInfo _
) 
Visual Basic (Usage)Copy Code
Dim printerInfo As PrinterInfo
 
Printer.UnInstall(printerInfo)
C# 
public static void UnInstall( 
   PrinterInfo printerInfo
)
C++/CLI 
public:
static void UnInstall( 
   PrinterInfo^ printerInfo
) 

Parameters

printerInfo
Printer information that was used when installing the printer to the system.

Example

Refer to Printer.Install example.

Remarks

Fill the Leadtools.Printer.PrinterInfo.MonitorName, Leadtools.Printer.PrinterInfo.PortName, and Leadtools.Printer.PrinterInfo.DriverName properties with valid data.

Notice that this method removes all printers that were using the driver name specified in the PrinterInfo.DriverName property.

To install a printer to the system, use the Printer.Install method.

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