Leadtools.Windows.Annotations Namespace > AnnAutomation Class : Unlock Method |
public virtual void Unlock()
'Declaration Public Overridable Sub Unlock()
'Usage Dim instance As AnnAutomation instance.Unlock()
public virtual void Unlock()
function Leadtools.Windows.Annotations.AnnAutomation.Unlock()
public: virtual void Unlock();
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..
For C#/VB examples, refer to Lock.
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