Leadtools.Printer Namespace > Printer Class : UnInstall Method |
public static void UnInstall( PrinterInfo printerInfo )
'Declaration Public Shared Sub UnInstall( _ ByVal printerInfo As PrinterInfo _ )
'Usage Dim printerInfo As PrinterInfo Printer.UnInstall(printerInfo)
public static void UnInstall( PrinterInfo printerInfo )
function Leadtools.Printer.Printer.UnInstall( printerInfo )
public: static void UnInstall( PrinterInfo^ printerInfo )
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2