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


IEditor2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditor2 Interface
ArcGIS Developer Help

IEditor2 Interface

Provides access to methods that extend the IEditor interface. The additional members control the behavior of the auxiliary selection anchor. Note: the IEditor2 interface has been superseded by IEditor3. Please consider using the more recent version.

Product Availability

Available with ArcGIS Desktop.

Members

Name Description
Method AbortOperation Aborts an edit operation.
Read-only property AuxiliarySelectionAnchor The auxiliary selection anchor.
Read/write property AuxiliarySelectionAnchorEnabled Indicates whether the selection anchor is drawn.
Method CreateSearchShape Creates a geometry using the point and the current search tolerance.
Read/write property CurrentTask The current edit task.
Method DelayEvents Used to batch operations together and minimize notifications.
Read-only property Display Reference to the current display.
Read-only property EditSelection The selected features which are editable.
Read-only property EditState The editor's current edit state.
Read-only property EditWorkspace Reference to the workspace being edited.
Method EnableUndoRedo Enable/disable the undo/redo capabilities.
Method FindExtension Finds the extension given an id.
Method HasEdits Indicates whether edits have been made during the session.
Method InvertAgent Draws the editor's snapping agent.
Read-only property Location The last known location of the mouse.
Read-only property Map Reference to the map being edited.
Read-only property Parent Reference to the parent application.
Method RedoOperation Redo an edit operation.
Method ResetAuxiliarySelectionAnchorLocation Places the auxiliary selection anchor near the main anchor.
Read-only property ScratchWorkspace Reference to the editor's scratch workspace.
Method SearchSelection Searches the edit selection using the given location.
Read-only property SelectionAnchor The selection anchor point.
Read-only property SelectionCount The number of selected features which are editable.
Method StartEditing Starts an edit session.
Method StartOperation Starts an edit operation.
Method StopEditing Stops an edit session.
Method StopOperation Stops an edit operation.
Read-only property Task An edit task by index.
Read-only property TaskCount The number of edit tasks.
Method UndoOperation Undo an edit operation.

Inherited Interfaces

Interfaces Description
IEditor Provides access to members that control the behavior of the editor.

Classes that implement IEditor2

Classes Description
Editor The Object Editor Extension.

Remarks

IEditor2 provides access to properties to control the location of the auxiliary selection anchor available when using the Scale and Rotate tools.

[Visual Basic .NET]
  Private m_application As IApplication
...
  'Use ICommand::OnCreate hook parameter to get IApplication reference.
  uID.Value = "esriEditor.Editor"
  m_editor = m_application.FindExtensionByCLSID(uID)
  Dim m_editor As IEditor 
  Dim uID As New UID
  uID.Value = "esriEditor.Editor" 
  m_editor = m_application.FindExtensionByCLSID(uID)
  'QI
  Dim editor2 As IEditor2
  editor2 = m_Editor
  editor2.ResetAuxiliarySelectionAnchorLocation()
  editor2.AuxiliarySelectionAnchorEnabled = 
  
True editor2.ResetAuxiliarySelectionAnchorLocation()