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


IEditSketch3 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Editor)  

IEditSketch3 Interface

Provides access to members that access and manipulate the edit sketch.

Product Availability

Available with ArcGIS Desktop.

Members

Description
Method AddPoint Adds a point to the edit sketch. If allowUndo is true, a new operation will be created.
Method ClearSelectedVertices Clears selected vertices.
Method ClearWYSIWYGSketchSymbol Clears the WYSIWYG Sketch symbol and its properties.
Read/write property CurrentZ Current Z value for the edit sketch.
Read/write property EditSketchExtension The current edit sketch extension.
Method FinishSketch Completes the current edit sketch.
Method FinishSketchPart Completes a part for the current edit sketch.
Read/write property Geometry Geometry stored in the edit sketch.
Read/write property GeometryType Type of the geometry stored in the edit sketch.
Method IsVertexSelected Is a vertex selected.
Read-only property LastPoint The last point in the edit sketch.
Read/write property MAware Indicates if the edit sketch geometry will contain Ms.
Method ModifySketch Call to notify listeners that the sketch has been changed.
Read-only property Part The index of the current part of the sketch.
Read-only property PartComplete Indicates whether FinishPart has been called on the edit sketch.
Method RefreshSketch Invalidates the portion of the display that is occupied by the sketch.
Read-only property Segment The index of the current segment of the sketch.
Read-only property SelectedVertexCount The number of selected vertices.
Method SelectVertex Selects a vertex.
Method SetWYSIWYGSketchSymbol The WYSIWYG Sketch symbol and its properties.
Read/write property ShapeConstructor The currently activated Shape Constructor.
Read-only property SketchSymbolIsWYSIWYG Indicates whether the sketch symbol is WYSIWYG.
Read-only property SketchSymbolRespectsRefScale Indicates whether the sketch symbol should respect the map's reference scale.
Method UnselectVertex Unselects a vertex.
Read-only property Vertex The index of the current vertex of the sketch.
Method VertexAdded Call to notify listeners that a sketch vertex has been added.
Method VertexDeleted Call to notify listeners that a sketch vertex has been deleted.
Method VertexMoved Call to notify listeners that a sketch vertex has been moved.
Read-only property WYSIWYGSketchSymbol The WYSIWYG symbol for the sketch.
Read/write property ZAware Indicates if the edit sketch geometry will contain Zs.

Inherited Interfaces

Interfaces Description
IEditSketch2 Provides access to members that access and manipulate the edit sketch.
IEditSketch Provides access to members that access and manipulate the edit sketch.

CoClasses that implement IEditSketch3

CoClasses and Classes Description
Editor The Object Editor Extension.

Remarks

IEditSketch3 extends the functionality available on IEditSketch2 to support alternative methods for adding geometries to the edit sketch, and provides mechanisms to ensure the edit sketch geometry has appropriate z-values.  Use this interface when manipulating or capturing z-aware features when you want to control the method of z-value assignment.

.NET Samples

Points along line construction tool (Code Files: PointsAlongLineForm PointsAlongLineTool) | ViperPin tool (Code Files: ViperPinForm ViperPinTool) | Angle Angle shape constructor (Code Files: AngleAngleCmd AngleAngleCstr)

.NET Related Topics

Working with the edit sketch