LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
Unlock Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomation Class : Unlock Method



The Unlock Method supports WPF/Silverlight.

The Unlock Method is available in LEADTOOLS Document and Medical Imaging toolkits.

Unlocks the object(s) currently being edited (selected). Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Overridable Sub Unlock() 
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomation
 
instance.Unlock()
C# 
public virtual void Unlock()
C++/CLI 
public:
virtual void Unlock(); 

Example

For C#/VB examples, refer to AnnAutomation.Lock.

Remarks

Use the CanUnlock property to determine whether you can currently call this method.

This method opens the AnnAutomationManager.PasswordDialogType form and uses the value entered in this dialog as the password to AnnObject.Unlock.

If the AnnAutomationManager.PasswordDialogType value is null (Nothing in Visual Basic), this method will not do anything.

For more information, refer to Implementing WPF Annotation Security..

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Unlock requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.