ArcObjects Library Reference (Controls)  

IEngineSnapEnvironment Interface

Provides access to members that manage the snap agents used by the editor.

Product Availability

Available with ArcGIS Engine.

Description

The IEngineSnapEnvironment interface manages the snap agent collection and the snap tolerance properties.

Members

Description
Method AddSnapAgent Adds a new snap agent to the snap environment.
Method ClearSnapAgents Removes all snap agents.
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.
Read/write property SnapTolerance The snap tolerance, measured in pixels or map units.
Read/write property SnapToleranceUnits The units used for the snap tolerance.

CoClasses that implement IEngineSnapEnvironment

CoClasses and Classes Description
EngineEditor A singleton object representing the Engine editing environment.

See Also

IEngineEditProperties Interface | IEngineEditProperties2 Interface | IEngineFeatureSnapAgent Interface