ESRI.ArcGIS.Mobile
SnappingEnvironment Property
See Also  Send Feedback
ESRI.ArcGIS.Mobile Namespace > Map Class : SnappingEnvironment Property

Gets the SnappingEnvironment that's associated with current map.

Syntax

Visual Basic (Declaration) 
<CompilerGeneratedAttribute()>
<TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
<DescriptionAttribute("Determines behavior of the snapping environment.")>
<DesignerSerializationVisibilityAttribute()>
<CategoryAttribute("Map")>
Public ReadOnly Property SnappingEnvironment As SnappingEnvironment
C# 
[CompilerGeneratedAttribute()]
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[DescriptionAttribute("Determines behavior of the snapping environment.")]
[DesignerSerializationVisibilityAttribute()]
[CategoryAttribute("Map")]
public SnappingEnvironment SnappingEnvironment {get;}

Remarks

SnappingEnvironment can contain a list of SnappingAgents with each corresponding to a FeatureLayer. Note that SnappingAgent is not created automatically by either the Map or the SnappingEnvironment. Based upon your snapping needs, you need to create one SnappingAgent for each FeatureLayer that you want to enable snapping for.

To learn more details, see SnappingEnvironment and SnappingAgent.


SnappingEnvironment can contain a list of SnappingAgents that each corresponding to a FeatureLayer. Note that SnappingAgent is not created automatically by eithe the Map or the SnappingEnvironment. Based upon your snapping needs, you need to create one SnappingAgent for each FeatureLayer that you want to snap to.

To learn more details, see SnappingEnvironment and SnappingAgent.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also