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 : EditContent Event |
public event EventHandler<AnnEditContentEventArgs> EditContent
'Declaration
Public Event EditContent As EventHandler(Of AnnEditContentEventArgs)
public event EventHandler<AnnEditContentEventArgs> EditContent
-(void) automation:(LTAnnAutomation*) automation editContentWithArgs:(LTAnnEditContentEventArgs*) e;
public void addEditContentListener(AnnEditContentListener listener) public void removeEditContentListener(AnnEditContentListener listener)
add_EditContent(function(sender, e)) remove_EditContent(function(sender, e))
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.
Property | Description |
---|---|
Bounds | Gets the bounding rectangle of the AnnObject entering content-editing mode in screen/device coordinates. |
Cancel | Gets or sets a value indicating whether edit mode should be canceled. |
TargetObject | Gets the AnnObject that is entering content-editing mode. |
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.