←Select platform

LockObject Event

Summary

Occurs when an AnnObject is locked.

Syntax

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

Event Data

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.

PropertyDescription
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.
Remarks

This event will occur on a successful call to Lock.

Example

For an example, refer to Lock.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly