2

If you use the Edit tool to click a location on the map with overlapping features, a small icon button icon Selection chip pops up with a dialog box previewing the selectable features where you clicked, so you can distinguish the correct feature from the overlapping ones.

How to get this "selection chip" from code (using .NET)? What interface I should use?

2

Take a look at the ISelectionResolutionChip interface:

public void GetSelectionChipByCLSID()
{
 //If your project is an Add-In you are given the Application. Otherwise you can get the app from the
  //hook parameter.
  UID editorUID = new UIDClass();
  editorUID.Value = "esriEditor.Editor";
  _Editor = ArcMap.Application.FindExtensionByCLSID(editorUID) as IEditor;


  UID chipUid = new UIDClass();
  chipUid.Value = "esriEditor.SelectionResolutionChip";

  ISelectionResolutionChip _SelectionChip = editor.FindExtension(chipUid) as ISelectionResolutionChip;
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.