Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomation Class : UnlockObject Event |
public event EventHandler<AnnLockObjectEventArgs> UnlockObject
'Declaration
Public Event UnlockObject As EventHandler(Of AnnLockObjectEventArgs)
public event EventHandler<AnnLockObjectEventArgs> UnlockObject
-(void) automation:(LTAnnAutomation*) automation unlockWithArgs:(LTAnnUnlockObjectEventArgs*) e;
public void addUnlockEventListener(AnnUnlockEventListener listener) public void removeUnlockEventListener(AnnUnlockEventListener listener)
add_UnlockObject(function(sender, e)) remove_UnlockObject(function(sender, e))
The event handler receives an argument of type AnnLockObjectEventArgs containing data related to this event. The following AnnLockObjectEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the lock operation should be canceled. |
Object | Gets the AnnObject that is being locked. |
Password | Gets or sets the password used to unlock a locked AnnObject. |
This event will occur on a successful call to Unlock.
For an example, refer to Lock.