LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

Unlock Method (AnnObject)

Show in webframe





String containing the password used to unlock the annotation object.
Unlocks this AnnObject with the specified password.
Syntax
public virtual void Unlock( 
   string password
)
'Declaration
 
Public Overridable Sub Unlock( _
   ByVal password As String _
) 
'Usage
 
Dim instance As AnnObject
Dim password As String
 
instance.Unlock(password)

            

            
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 WPF Annotation Security.

Example

For C#/VB examples, refer to Lock.

Requirements

Target Platforms

See Also

Reference

AnnObject Class
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.