Leadtools.Printer Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
IsPrinterLocked Method
See Also 
Leadtools.Printer Namespace > Printer Class : IsPrinterLocked Method



Determines whether the specified printer is locked.

Syntax

Visual Basic (Declaration) 
Public Function IsPrinterLocked() As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Printer
Dim value As Boolean
 
value = instance.IsPrinterLocked()
C# 
public bool IsPrinterLocked()
C++/CLI 
public:
bool IsPrinterLocked(); 

Return Value

True if the specified printer is locked; otherwise it is false.

Example

Refer to Printer.Specifications example.

Remarks

This method checks if applications were prevented from directly printing to the specified printer.

To lock the specified printer, use the Lock method.

To unlock the specified printer, use the UnLock method.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

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