This document is archived and information here might be outdated. Recommended version. |
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;}
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
IEditSketchExtension2 Interface | IDatasetEdit Interface | IDatasetEditInfo Interface | IEditSketch Interface | IEditTask.Activate Method | IEditor Interface | IEditTask.Deactivate Method | ISnapEnvironment Interface | IEditEvents2 Interface | IEditLayers Interface | IEditEvents Interface | IEditTask.Name Property | Editor Class | Editor Library | IEditTask.OnFinishSketch Method | IEditAttributeProperties Interface | IEditTask.OnDeleteSketch Method | IEditProperties Interface | IExtension Interface