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

IEditSketch.GeometryType Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditSketch Interface > IEditSketch.GeometryType Property
ArcGIS Developer Help

IEditSketch.GeometryType Property

Type of the geometry stored in the edit sketch.

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

Product Availability

Available with ArcGIS Desktop.


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