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

IFeatureSnapAgent2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IF > IFeatureSnapAgent2 Interface
ArcGIS Developer Help

IFeatureSnapAgent2 Interface

Provides access to properties controlling Snapping in Z.

Product Availability

Available with ArcGIS Desktop.


This interface is new at ArcGIS 9.3. It supersedes IFeatureSnapAgent.


Name Description
Read-only property FeatureCache The FeatureCache associated with the feature snap agent.
Read/write property FeatureClass The featureclass the feature snap agent snaps to.
Read/write property HitType The part of a geometry the feature snap agent snaps to.
Read-only property Name The name of the snap agent shown in the UI.
Method Snap Called by the editor to perform the actual snapping logic.
Read/write property ZSnappingEnabled Indicates whether this Agent will snap in Z.

Inherited Interfaces

Interfaces Description
IFeatureSnapAgent Provides access to members that control a feature snap agent's properties.
ISnapAgent Provides access to members that snap point locations using a tolerance.

Classes that implement IFeatureSnapAgent2

Classes Description
FeatureSnap Snap agent that snaps to a feature in a specified way.