Provides access to members that manage the edit sketch.
Product Availability
Available with ArcGIS Engine.
Description
This interface is new at ArcGIS 9.3.
The purpose of the IEngineEditSketch interface is to manage the geometry that will be used by EngineEditor.
The EngineEditor automatically creates a new empty geometry (Geometry) with the same geometry type (GeometryType) as the target layer (IEngineEditLayers::TargetLayer). Use the AddPoint method to create the edit sketch geometry and finishSketch to signal to the current task (IEngineEditor::CurrentTask) that the geometry is ready for use. The current task takes the geometry and performs some action. For example, the Create New Feature task takes the geometry and stores it in the layer as a new feature.
Members
Description | ||
---|---|---|
AddPoint | Adds a point to the edit sketch. If allowUndo is true, a new operation will be created. | |
CurrentZ | Current Z value for the edit sketch. | |
EditLocation | A point that can be used by any custom editing commands. This property is set by the SetEditLocation method. | |
FinishSketch | Completes the current edit sketch. | |
FinishSketchPart | Completes a part for the current edit sketch. | |
Geometry | Geometry stored in the edit sketch. | |
GeometryType | Type of the geometry stored in the edit sketch. | |
LastPoint | The last point in the edit sketch. | |
ModifySketch | Notifies listeners that the sketch has been changed. | |
Part | The index of the current part of the sketch. | |
RefreshSketch | Invalidates the portion of the display that is occupied by the sketch. | |
Segment | The index of the current segment of the sketch. | |
SetEditLocation | Sets the part, segment and vertex of the edit sketch at the x,y location. | |
Vertex | The index of the current vertex of the sketch. | |
VertexAdded | Notifies listeners that a vertex has been added to the sketch. | |
VertexDeleted | Notifies listeners that a vertex has been deleted from the sketch. | |
VertexMoved | Notifies listeners that a vertex has been moved in the sketch. | |
ZAware | Indicates whether the edit sketch geometry can contain Zs. |
CoClasses that implement IEngineEditSketch
CoClasses and Classes | Description |
---|---|
EngineEditor | A singleton object representing the Engine editing environment. |