←Select platform

EditContent Event

Summary

Occurs when the content of an AnnObject is edited.

Syntax

C#
VB
Java
Objective-C
WinRT C#
public event EventHandler<AnnEditContentEventArgs> EditContent
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)) 

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.
Cancel Gets or sets a value indicating whether edit mode should be canceled.
TargetObject Gets the AnnObject that is entering content-editing mode.
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Automation Assembly
Click or drag to resize