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


IEngineSnapEnvironment Interface (ArcObjects .NET 10.4 SDK)
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

.NET Samples

Managing snap agents (Code Files: SnapEditorForm) | Buffer snap agent (Code Files: EditingForm)

.NET Related Topics

How to work with the snap environment