←Select platform

EditContent Event

Summary
Occurs when the content of an AnnObject is edited.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public event EventHandler<AnnEditContentEventArgs> EditContent 
- (void)automation:(LTAnnAutomation *)automation editContent:(LTAnnEditContentEventArgs *)args; 
public void addEditContentListener(AnnEditContentListener listener) 
public void removeEditContentListener(AnnEditContentListener listener) 
public:  
   event EventHandler<AnnEditContentEventArgs^>^ EditContent 
def EditContent(sender,e): # sender: AnnAutomation e: Leadtools.Annotations.Engine.AnnEditContentEventArgs 
Event Data

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

PropertyDescription
Bounds Gets the bounding rectangle of the AnnObject entering content-editing mode in screen/device coordinates.
Remarks

This event will occur when the user double clicks an object to edit its content. For more information, refer to AnnEditDesigner.EditContent.

If the value of EditContentAfterDraw is set to true, then this event will occur automatically after the designer finishes drawing new objects.

Requirements

Target Platforms

Help Version 22.0.2023.4.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.