C#
VB
Java
Objective-C
WinRT C#
C++
Occurs when an AnnObject is locked.
public event EventHandler<AnnLockObjectEventArgs> LockObject 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))
public:event EventHandler<AnnLockObjectEventArgs^>^ LockObject
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
