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.
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.
Refer to Printer.Install example.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7