←Select platform

UnInstall Method

Summary

Uninstalls the printer from the system.

Syntax

C#
VB
C++
public static void UnInstall(  
   Leadtools.Printer.PrinterInfo printerInfo 
) 
  
Public Shared Sub UnInstall( _ 
   ByVal printerInfo As Leadtools.Printer.PrinterInfo _ 
)  
public: 
static void UnInstall(  
   Leadtools.Printer.PrinterInfo^ printerInfo 
)  

Parameters

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

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 Install method.

Example

Refer to the Install example.

Requirements

Target Platforms

See Also

Reference

Printer Class

Printer Members

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Printer Assembly
Click or drag to resize