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 : LockObject Event |
public event EventHandler<AnnLockObjectEventArgs> LockObject
'Declaration
Public Event LockObject As EventHandler(Of AnnLockObjectEventArgs)
public event EventHandler<AnnLockObjectEventArgs> LockObject
-(void) automation:(LTAnnAutomation*) automation lockWithArgs:(LTAnnLockObjectEventArgs*) e;
public void addLockEventListener(AnnLockEventListener listener) public void removeLockEventListener(AnnLockEventListener listener)
add_LockObject(function(sender, e)) remove_LockObject(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 Lock.
For an example, refer to Lock.