←Select platform

BeforeObjectChanged Event

Summary
Occurs when an AnnObject is about to be changed.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public event EventHandler<AnnBeforeObjectChangedEventArgs> BeforeObjectChanged 
            -(void) automation:(LTAnnAutomation*) automation beforeObjectChanged:(LTAnnBeforeObjectChangedEventArgs*)e; 
public void addBeforeObjectChangedListener(AnnBeforeObjectChangedListener listener) 
public void removeBeforeObjectChangedListener(AnnBeforeObjectChangedListener listener) 
public:  
   event EventHandler<AnnBeforeObjectChangedEventArgs^>^ BeforeObjectChanged 
def BeforeObjectChanged(sender,e): # sender: AnnAutomation e: AnnBeforeObjectChangedEventArgs 
Event Data

The event handler receives an argument of type AnnBeforeObjectChangedEventArgs containing data related to this event. The following AnnBeforeObjectChangedEventArgs properties provide information specific to this event.

PropertyDescription
Cancel Gets or sets a value indicating whether the change should be canceled.
Remarks

This event will be fired before an AnnObject is about to be modified by this AnnAutomation.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.