ArcObjects Library Reference (Carto)  

IGraphicSnapEnvironment2 Interface

Provides access to members that control the Collection of snap agents used for snapping graphics.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method AddSnapAgent Add a new snap agent to the environment.
Method ClearSnapAgents Remove all snap agents.
Method DeleteSnapAgent Remove specified snap agent from the environment.
Read-only property SnapAgent The snap agent at the specified index. The index argument is zero based.
Read-only property SnapAgentCount The number of snap agents.
Read/write property SnapAgentOrder An array of IDs indicating how agents should be ordered.
Method SnapShape Snap the shape using the agents in the environment.
Method SnapShapeEx Snap the shape using the agents in the environment.
Read/write property SnapTolerance The snap tolerance in page units.

CoClasses that implement IGraphicSnapEnvironment2

CoClasses and Classes Description
GraphicSnapEnvironment Collection of Snap Agents used to snap a graphic point.
PageLayout Page Layout class contains maps and map surrounds.