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


IEditLocation Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditLocation Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Editor)  

IEditLocation Interface

Provides access to the Editor's Location property.

Product Availability

Available with ArcGIS Desktop.

Members

Name Description
Read/write property Location The last known location of the mouse.

CoClasses that implement IEditLocation

CoClasses and Classes Description

Remarks

This interface was added specifically to allow alternative input of the editor's location property.

Generally, the ::Location() of the editor is set using the current tool via right click(ing) within the display.

However, issues arise when attempting to co-create and show the edit sketch context menu (as an external AO developer).  This context menu uses the location of the editor to hit test for a valid geometry.  If no valid sketch geometry is found, the context shown will fall back to the default for the display.