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


FeatureSnap CoClass (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Editor)  

FeatureSnap CoClass

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 Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.
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.