←Select platform

Unlock Method

Summary

Unlocks this AnnObject with the specified password.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public virtual void Unlock( 
   string password 
) 
Public Overridable Sub Unlock( _ 
   ByVal password As String _ 
)  
public virtual void Unlock(  
   string password 
) 
-(void) unlock:(NSString*)password; 
public void unlock(String password) 
 function Leadtools.Annotations.Core.AnnObject.Unlock(  
   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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly