IEditSketch.Geometry Property
Geometry stored in the edit sketch.
[Visual Basic .NET]
Public Property Geometry As IGeometry
[C#]
public IGeometry Geometry {get; set;}
Product Availability
Available with ArcGIS Desktop.
Remarks
This property sets the geometry the editor works with, ultimately passing it to the current task. By default, the editor creates a new empty geometry for you, and it does this any time you change the editor's current layer (IEditLayers::SetCurrentLayer ), reset the GeometryType property, or complete a task with a previous geometry. Because of this behavior, there is generally no need to set the Geometry property when you are building new geometries from scratch. Do set the Geometry property when you want to bring an existing feature into the edit sketch.
Valid geometry types are: esriGeometryPoint , esriGeometryMultipoint, esriGeometryPolyline and esriGeometryPolygon .
See Also
IEditSketch Interface
.NET Samples
Points along line construction tool ViperPin tool