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


IEngineEditSketch.Geometry Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditSketch Interface > IEngineEditSketch.Geometry Property
ArcGIS Developer Help

IEngineEditSketch.Geometry Property

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*

Product Availability

Available with ArcGIS Engine.

Description

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.

See Also

IEngineEditSketch Interface