This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditSketch Interface > IEngineEditSketch.GeometryType Property (ArcObjects .NET 10.4 SDK) |
Type of the geometry stored in the edit sketch.
[Visual Basic .NET] Public Property GeometryType As esriGeometryType
[C#] public esriGeometryType GeometryType {get; set;}
[C++]
HRESULT get_GeometryType(
esriGeometryType* geomType
);
[C++]
HRESULT put_GeometryType(
esriGeometryType geomType
);
[C++]
Parameters geomType [out, retval]
geomType is a parameter of type esriGeometryType geomType [in]
geomType is a parameter of type esriGeometryType
Use this property in conjunction with the IEngineEditSketch::Geometry property to manage the geometry inside the edit sketch. Setting GeometryType automatically initializes the IEngineEditSketch::Geometry property and vice versa. For example, if you set the GeometryType to esriGeometryPolygon, a new empty Polygon object will be created.
Valid esriGeometryType constants used by IEngineEditSketch are: esriGeometryPoint, esriGeometryMultipoint, esriGeometryPolyline, esriGeometryPolygon and esriGeometryNull.