←Select platform

Unlock Method

Summary

Unlocks this AnnObject with the specified password.

Syntax
C#
VB
Java
Objective-C
C++
public virtual void Unlock( 
   string password 
) 
Public Overridable Sub Unlock( _ 
   ByVal password As String _ 
)  
-(void) unlock:(NSString*)password; 
public void unlock(String password) 
public:  
   virtual void Unlock( 
      String^ password 
   ) 

Parameters

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

Remarks

Only unlocked objects can be locked. If an object is already locked, it will stay locked with its original password. You must pass the same password to Unlock to unlock this AnnObject.

If this method succeeds, the password will be stored inside the object and can be retrieved with the Password property.

An object must be unlocked in order to change that object in automated mode.

For more information, refer to Implementing Annotation Security.

Example

For an example, refer to Lock.

Requirements

Target Platforms

See Also

Reference

AnnObject Class

AnnObject Members

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly