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


ISnapEnvironment3 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Editor)  

ISnapEnvironment3 Interface

Provides access to members used to manipulate the snap environment for contraints.

Product Availability

Available with ArcGIS Desktop.

Members

Description
Method AddSnapAgent Adds a new snap agent to the snap environment.
Method ClearSnapAgents Removes all snap agents.
Method FullPointSnap Always attempts to snap the point using the current snap environment. This should not be used to snap mouse position in a tool.
Method RemoveSnapAgent Removes the snap agent at the given index.
Read-only property SnapAgent A snap agent at the given index.
Read-only property SnapAgentCount The number of active snap agents.
Method SnapPoint Attempts to snap the point using the current snap environment.
Method SnapToIntersection Attempts to snap the specified point to the given intersection.
Read/write property SnapTolerance The snap tolerance, measured in pixels or map units.
Read/write property SnapToleranceUnits The units used for the snap tolerance.
Read/write property SnapZTolerance The snap tolerance used for z-values, measured in map units.
Read/write property UseSnapZTolerance Indicates whether the SnapZTolerance property is used when Z snapping.

Inherited Interfaces

Interfaces Description
ISnapEnvironment2 Provides access to members used to manipulate the snap environment for Zs.
ISnapEnvironment Provides access to members that manage the snap agents used by the editor.

CoClasses that implement ISnapEnvironment3

CoClasses and Classes Description
Editor The Object Editor Extension.