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


IEngineSnapEnvironment Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineSnapEnvironment Interface
ArcGIS Developer Help

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

Name 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.

Classes that implement IEngineSnapEnvironment

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

See Also

IEngineEditProperties Interface | IEngineEditProperties2 Interface | IEngineFeatureSnapAgent Interface

.NET Samples

Buffer snap agent Managing snap agents