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


IEngineSnapEnvironment.ClearSnapAgents Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IEngineSnapEnvironment.ClearSnapAgents Method

Removes all snap agents.

[Visual Basic .NET]
Public Sub ClearSnapAgents ( _
)
[C#]
public void ClearSnapAgents (
);
[C++]
HRESULT ClearSnapAgents(
void
);

Product Availability

Available with ArcGIS Engine.

Description

ClearSnapAgents removes all feature snap agents, but not snap agents such as edit sketch vertices.

See Also

IEngineSnapEnvironment Interface

.NET Samples

Managing snap agents (Code Files: SnapEditorForm)

.NET Related Topics

How to work with the snap environment