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 : BeforeObjectChanged Event |
public event EventHandler<AnnBeforeObjectChangedEventArgs> BeforeObjectChanged
'Declaration
Public Event BeforeObjectChanged As EventHandler(Of AnnBeforeObjectChangedEventArgs)
public event EventHandler<AnnBeforeObjectChangedEventArgs> BeforeObjectChanged
-(void) automation:(LTAnnAutomation*) automation beforeObjectChanged:(LTAnnBeforeObjectChangedEventArgs*)e;
public void addBeforeObjectChangedListener(AnnBeforeObjectChangedListener listener) public void removeBeforeObjectChangedListener(AnnBeforeObjectChangedListener listener)
add_BeforeObjectChanged(function(sender, e)) remove_BeforeObjectChanged(function(sender, e))
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.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the change should be canceled. |
ChangeType | Gets the type of change. |
Designer | Gets the designer responsible for the change. |
Objects | Gets the objects that have been changed. |
This event will be fired before an AnnObject is about to be modified by this AnnAutomation.