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


IEditSketchExtension Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Editor)  

IEditSketchExtension Interface

Provides access to members that extend the edit sketch. Note: the IEditSketchExtension interface has been superseded byIEditSketchExtension2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Desktop.

When To Use

Edit sketch extensions let programmers alter the edit sketch geometry and edit sketch display feedback mechanism.

Members

Description
Method Activate Called when the sketch extension is about to be used.
Method Applies Indicates whether this extension applies to the current edit environment.
Method BeforeStoreFeature Lets the extension know the feature is about to be stored.
Read-only property CanDeleteVertices Indicates whether the sketch allows the deleting of vertices.
Read-only property CanInsertVertices Indicates whether the sketch allows the inserting of additional vertices.
Read-only property CanMoveVertices Indicates whether the sketch allows the moving of vertices.
Method CreateFeedback Called when a new feedback is needed.
Method CreateSketchGeometry The geometry that will be used in the sketch when modifying a feature.
Method Deactivate Called when the sketch extension is no longer needed.
Read-only property HasFeedback Indicates whether the SketchExtension will use a custom feedback.
Read-only property SketchGeometryType The geometry type used for the edit sketch when creating new features.
Method StartFeedback Called when the feedback needs to be started.
Method StartFeedbackFromShape Called when the feedback needs to be started using an existing geometry.
Method StopFeedback Called when the feedback is no longer necessary.

CoClasses that implement IEditSketchExtension

CoClasses and Classes Description
AnnotationEditExtension An editor extension for creating and editing annotation features.
DimensionEditExtension An editor extension for creating and editing dimension features.

See Also

IDatasetEdit Interface | IDatasetEditInfo Interface | IEditSketch Interface | IEditTask.Activate Method | IEditor Interface | IEditTask.Deactivate Method | ISnapEnvironment Interface | IEditEvents2 Interface | IEditLayers Interface | IEditEvents Interface | IEditTask.Name Property | Editor Class | Editor Library | IEditTask.OnFinishSketch Method | IEditAttributeProperties Interface | IEditTask.OnDeleteSketch Method | IEditProperties Interface | IExtension Interface | IEditSketchExtension2 Interface