Leadtools.Windows.Annotations Namespace > AnnObject Class : Unlock Method |
Only objects locked with the same password can be unlocked. If you pass the wrong password, this method will do nothing and the object remains unlocked. You can call IsLocked after calling this method to determine whether unlocking the object succeeded.
If this method succeeds, the Password value will be reset to an empty string.
An object must be unlocked in order to change that object in automated mode.
For more information, refer to Implementing WPF Annotation Security.
For C#/VB examples, refer to Lock.