This document is archived and information here might be outdated.  Recommended version.


IEditEvents4 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Editor)  

IEditEvents4 Interface

Provides access to more editor events. Implement it to listen for specific events that occur during an edit session.

Product Availability

Available with ArcGIS Desktop.

When To Use

Provides access to more editor events. Implement it to listen for specific events that occur during an edit session. The events are fired when the ground to grid correction properties on IEditProperties2 are changed.

Members

Description
Event OnAngularCorrectionOffsetChanged Called when Angular Correction Offset is changed.
Event OnDistanceCorrectionFactorChanged Called when Distance Correction Factor is changed.
Event OnUseGroundToGridChanged Called when Ground to Grid use changes.

CoClasses that implement IEditEvents4

CoClasses and Classes Description
EditEvents4 Helper coclass for working with the nondefault outbound IEditEvents4 interface in VB.
Editor The Object Editor Extension.
[C#]

The following code shows how to wire edit events in C#.

public void WireEditEvents4()
{
  UID editorUid=new UIDClass();
  editorUid.Value="esriEditor.Editor";
  //You can get app from ICommand :: OnCreate() hook parameter  
  IEditor editor=app.FindExtensionByCLSID(editorUid) as IEditor;
  ((IEditEvents4_Event)editor).OnAngularCorrectionOffsetChanged += new IEditEvents4_OnAngularCorrectionOffsetChangedEventHandler(OnAngularCorrectionOffsetChanged);
}
void OnAngularCorrectionOffsetChanged()
{
  //To do:
}
For more information see How to listen to edit events.