Provides access to members used to manipulate the snap environment for Zs. Note: the ISnapEnvironment2 interface has been superseded byISnapEnvironment3. Please consider using the more recent version.
Product Availability
Available with ArcGIS Desktop.
When To Use
The ISnapEnvironment2 interface extends the ISnapEnvironment interface to support snapping behavior for z-aware features.
Members
Description | ||
---|---|---|
AddSnapAgent | Adds a new snap agent to the snap environment. | |
ClearSnapAgents | Removes all snap agents. | |
RemoveSnapAgent | Removes the snap agent at the given index. | |
SnapAgent | A snap agent at the given index. | |
SnapAgentCount | The number of active snap agents. | |
SnapPoint | Attempts to snap the point using the current snap environment. | |
SnapTolerance | The snap tolerance, measured in pixels or map units. | |
SnapToleranceUnits | The units used for the snap tolerance. | |
SnapZTolerance | The snap tolerance used for z-values, measured in map units. | |
UseSnapZTolerance | Indicates whether the SnapZTolerance property is used when Z snapping. |
Inherited Interfaces
Interfaces | Description |
---|---|
ISnapEnvironment | Provides access to members that manage the snap agents used by the editor. |
CoClasses that implement ISnapEnvironment2
CoClasses and Classes | Description |
---|---|
Editor | The Object Editor Extension. |
Remarks
For more information about snapping in z, refer to Working with Zs in the editor.