ArcObjects Library Reference (Controls)  

ISnappingEnvironment Interface

ISnappingEnvironment Interface

Product Availability

Available with ArcGIS Engine.

Members

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.

CoClasses that implement ISnappingEnvironment

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

Remarks

ISnappinvEnvironment is the primary interface for working with and managing the snapping environment at 9.4.  Other snapping methods available at previous versions, notably the ArcMap editors snap environment (accessed from IEditor.SnapEnvironment) and the engine editors snapping environment (accessed via IEngineSnapEnvironment) still exist at ArcGIS 9.4, 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.