Provides access to methods that extend the IEditor interface. The additional members control the behavior of the auxiliary selection anchor.
| Description | ||
|---|---|---|
![]() |
AbortOperation | Aborts an edit operation. |
![]() |
AuxiliarySelectionAnchor | The auxiliary selection anchor. |
![]() |
AuxiliarySelectionAnchorEnabled | Indicates whether the selection anchor is drawn. |
![]() |
CreateSearchShape | Creates a geometry using the point and the current search tolerance. |
![]() |
CurrentTask | The current edit task. |
![]() |
DelayEvents | Used to batch operations together and minimize notifications. |
![]() |
Display | Reference to the current display. |
![]() |
EditSelection | The selected features which are editable. |
![]() |
EditState | The editor's current edit state. |
![]() |
EditWorkspace | Reference to the workspace being edited. |
![]() |
EnableUndoRedo | Enable/disable the undo/redo capabilities. |
![]() |
FindExtension | Finds the extension given an id. |
![]() |
HasEdits | Returns true if edits have been made. |
![]() |
InvertAgent | Draws the editor's snapping agent. |
![]() |
Location | The last known location of the mouse. |
![]() |
Map | Reference to the map being edited. |
![]() |
Parent | Reference to the parent application. |
![]() |
RedoOperation | Redo an edit operation. |
![]() |
ResetAuxiliarySelectionAnchorLocation | Places the auxiliary selection anchor near the main anchor. |
![]() |
ScratchWorkspace | Reference to the editor's scratch workspace. |
![]() |
SearchSelection | Searches the edit selection using the given location. |
![]() |
SelectionAnchor | The selection anchor point. |
![]() |
SelectionCount | The number of selected features which are editable. |
![]() |
StartEditing | Starts an edit session. |
![]() |
StartOperation | Starts an edit operation. |
![]() |
StopEditing | Stops an edit session. |
![]() |
StopOperation | Stops an edit operation. |
![]() |
Task | An edit task by index. |
![]() |
TaskCount | The number of edit tasks. |
![]() |
UndoOperation | Undo an edit operation. |
| Interfaces | Description |
|---|---|
| IEditor | Provides access to members that control the behavior of the editor. |
| CoClasses and Classes | Description |
|---|---|
| Editor | The Object Editor Extension. |
IEditor2 provides access to properties to control the location of the auxiliary selection anchor available when using the Scale and Rotate tools.
The IEditor2 interface is on the Editor CoClass. You can QI (Query Interface) for IEditor2 from any other interface on the Editor CoClass.
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()