←Select platform

Unlock Method (AnnObject)

Summary

Unlocks this AnnObject with the specified password.

Syntax

C#
VB
Java
Objective-C
WinRT 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  
) 

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Core Assembly
Click or drag to resize