ArcObjects Library Reference (Editor)  

IEditSketch.GeometryType Property

Type of the geometry stored in the edit sketch.

[Visual Basic .NET]
Public Property GeometryType As esriGeometryType
[C#]
public esriGeometryType GeometryType {get; set;}

Product Availability

Available with ArcGIS Desktop.

Remarks

Use this property in conjunction with the Geometry property to manage the geometry inside the edit sketch. Valid geometry types are: esriGeometryPoint , esriGeometryPolygon , esriGeometryPolyline and esriGeometryNull . Setting GeometryType automatically initializes the Geometry property and vice versa. For example, if you set the GeometryType to esriGeometryPolygon, a new empty Polygon object will b e created.

See Also

IEditSketch Interface