The PrinterName Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Get or sets the name of the printer in the list of locally supported printers.Visual Basic (Declaration) | |
---|---|
Public Property PrinterName As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As PrinterInfo Dim value As String instance.PrinterName = value value = instance.PrinterName |
C# | |
---|---|
public string PrinterName {get; set;} |
Property Value
The printer name from the list of locally supported printers.Refer to Printer.Install example.
The value of this property is used in the installation and uninstallation.
The printer name should not include special characters such as "!", "\" and ",". It is also not recommended to use the following special characters: "/, *, ?, :, ", and |". This parameter is case-sensitive.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7