ArcObjects Library Reference (Controls)  

EngineEditor CoClass

A singleton object representing the Engine editing environment.

Product Availability

Available with ArcGIS Engine.

Description

The EngineEditor is a singleton object (only one instance of the EngineEditor object is supported per thread) that manages the editing environment for features stored in the ESRI vector geographic datasets: geodatabases and shapefiles. Use the EngineEditor object to control the editing properties, establish a snapping environment, manage snap agents, create edit operations, create and manage an edit sketch, set the current task, set the target layer and to respond to editor events.

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IEngineEditLayers Provides access to members that control information about layers in the edit session.
IEngineEditor Provides access to members that control the behavior of the EngineEditor.
IEngineEditor2 Provides access to members that control the behavior of the EngineEditor.
IEngineEditProperties Provides access to members that control the properties of an edit session.
IEngineEditProperties2 Provides access to more members that control the properties of an edit session.
IEngineEditSketch Provides access to members that manage the edit sketch.
IEngineSnapEnvironment Provides access to members that manage the snap agents used by the editor.
IExtension (esriSystem) Provides access to members that define an extension.
ISupportErrorInfo Indicates whether a specific interface can return Automation error objects.

Event Interfaces

Interfaces Description
IEngineEditEvents (default) Provides access to the EngineEditor's events.
EngineEditor is the one and only instance of its class.

Working with Events

[Visual Basic 6.0]

When working with EngineEditor's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pEngineEditor as EngineEditor