ArcObjects Library Reference (Controls)  

ITOCControlEvents.OnEndLabelEdit Event

Fires when label editing ends.

[Visual Basic .NET]
Public Event OnEndLabelEdit As OnEndLabelEditEventHandler
[C#]
public event OnEndLabelEditEventHandler OnEndLabelEdit
[C++]
HRESULT OnEndLabelEdit(
  long X,
  long Y,
  BSTR newLabel,
  VARIANT_BOOL* CanEdit
);
[C++]

Parameters

X [in]   X is a parameter of type long Y [in]   Y is a parameter of type long newLabel [in]   newLabel is a parameter of type BSTR CanEdit [in, out]   CanEdit is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine.

Description

canEdit specifies a boolean indicating whether the label can be edited. Set canEdit to False to reset the label to its previous value. By default all labels can be editied. Use the HitTest method to determine what kind of item label is being editied.

newLabel specifies a string containing the new label given by the user.

See Also

ITOCControlEvents Interface