This document is archived and information here might be outdated. Recommended version. |
Geometry stored in the edit sketch.
[Visual Basic .NET] Public Property Geometry As IGeometry
[C#] public IGeometry Geometry {get; set;}
[C++]
HRESULT get_Geometry(
IGeometry** Geometry
);
[C++]
HRESULT putref_Geometry(
IGeometry* Geometry
);
[C++] Parameters Geometry [out, retval]
Geometry is a parameter of type IGeometry** Geometry [in]
Geometry is a parameter of type IGeometry*
This property sets the geometry that the EngineEditor works with and ultimately passes it to the current task. By default, the EngineEditor creates a new empty geometry any time an edit session is started, the target layer is changed, the GeometryType is reset, or a task is completed. There is generally no need, therefore, to set the Geometry property when you are building new geometries.
Do set the Geometry property, however, when you want to bring an existing feature into the edit sketch.
Valid esriGeometryType constants used by IEngineEditSketch are: esriGeometryPoint, esriGeometryMultipoint, esriGeometryPolyline, esriGeometryPolygon and esriGeometryNull.