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


FeatureSnap Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Classes > F > FeatureSnap Class
ArcGIS Developer Help

FeatureSnapClass Class

Snap agent that snaps to a feature in a specified way.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Interfaces

Interfaces Description
IEditEvents Provides access to editor events. Implement it to listen for specific events that occur during an edit session.
IExtension (esriSystem) Provides access to members that define an extension.
IFeatureSnapAgent2 Provides access to properties controlling Snapping in Z.
IObjectClassEvents (esriGeoDatabase) Provides access to events that occur with an object class.
IPersist (esriSystem)
IPersistStream (esriSystem)
ISnapAgent Provides access to members that snap point locations using a tolerance.
ISnapAgentFeedback Provides access to feedback in the form of a string to determine what was snapped to.

Remarks

Feature snap agents are a specific class of snap agents. The sketch tools and other editing tools use feature snap agents to find features to which to snap. A feature snap agent is automatically instantiated for each editable feature class the first time the snapping window is opened. Alternatively, you can cocreate a new feature snap agent, set its properties, and manually add it to the snapping environment. The editor will not replace manually added feature snap agents when the snapping window is opened.