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


IEditSketch.GeometryType Property (ArcObjects .NET 10.5 SDK)
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

.NET Related Topics

Working with the edit sketch