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


ISnappingEnvironment Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISnappingEnvironment Interface
ArcGIS Developer Help

ISnappingEnvironment Interface

ISnappingEnvironment Interface

Product Availability

Available with ArcGIS Engine.

Members

Name Description
Read/write property Enabled Toggles snapping on/off.
Read/write property IgnoreIMSLayers Ignores layers with slow response times.
Read/write property PointSnapper Returns the point snapper.
Read/write property ShowSnapTipBackground Toggles snap tip background on/off.
Read/write property ShowSnapTips Toggles snap tips on/off.
Read/write property SnappingType The types of snapping currently being considered.
Read/write property SnapSymbolColor The color of the snapping symbol.
Read/write property SnapTipSymbol The symbol that displays the snap tip.
Read/write property SnapTipType The types of snapping tip to be displayed.
Read/write property TextSnapping Toggles snapping to text on/off.
Read/write property Tolerance Sets the snap tolerance in pixels.

Classes that implement ISnappingEnvironment

Classes Description
Snapping Provides the snapping environment for tools to use.

Remarks

ISnappingEnvironment is the primary interface for working with and managing the snapping environment at 10.0.  Other snapping methods available at previous versions, notably the ArcMap editor�s snap environment (accessed from IEditor.SnapEnvironment) and the engine editor�s snapping environment (accessed via IEngineSnapEnvironment) still exist at ArcGIS 10.0. These are separate environments and developers should be aware of which snapping environment their tools are using.  One of the main benefits of the new snapping environment is its availability to both ArcMap and ArcGIS Engine developers, and the capability to utilize snapping for all tools, not editing.

.NET Samples

Angle Angle shape constructor