The geometry type used for the edit sketch when creating new features.
[Visual Basic .NET] Public ReadOnly Property SketchGeometryType As esriGeometryType
[C#] public esriGeometryType SketchGeometryType {get;}
Product Availability
Remarks
The ::SketchGeometryType() method is used to specify the geometry type of the editsketch. Keep in mind that this can be different than the geometry type of the feature.
You may want the geometry type of the editsketch to be polygon yet ultimately store it in a featureclass of geometry type polyline.
public esriGeometryType SketchGeometryType
{
get
{
return esriGeometryType.esriGeometryPolygon;
}
}
Public Property SketchGeometryType() As ESRI.ArcGIS.Geometry.esriGeometryType
Get
Return esriGeomeTryType.esriGeomeTryPolyline
End Get
Set(ByVal value As ESRI.ArcGIS.Geometry.esriGeometryType)
value = esriGeometryType.esriGeometryPolyline
End Set
End Property
See Also
IEditSketchExtension2 Interface | IDatasetEdit Interface | IDatasetEditInfo Interface | IEditTask.Name Property | Editor Class | ISnapEnvironment Interface | IEditEvents2 Interface | IEditTask.Deactivate Method | IEditAttributeProperties Interface | IEditor Interface | IEditSketch Interface | IEditTask.OnFinishSketch Method | IEditProperties Interface | IEditLayers Interface | IEditTask.Activate Method | IEditTask.OnDeleteSketch Method | IEditEvents Interface | IExtension Interface