←Select platform

Unlock Method

Summary

Unlocks this AnnObject with the specified password.

Syntax

C#
VB
C++
public virtual void Unlock( 
   string password 
) 
  
Public Overridable Sub Unlock( _ 
   ByVal password As String _ 
)  
public: 
virtual void Unlock(  
   String^ password 
)  

Parameters

password
String containing the password used to unlock the annotation object.

Remarks

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. (Deprecated)

Example

For an example, refer to Lock.

Requirements

Target Platforms

See Also

Reference

AnnObject Class

AnnObject Members

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly