Leadtools.Annotations Namespace > AnnObject Class : Unlock Method |
function Leadtools.Annotations.AnnObject.Unlock( password )
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 Annotation Security.
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