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


IEngineSnapEnvironment.ClearSnapAgents Method (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 > IEngineSnapEnvironment.ClearSnapAgents Method
ArcGIS Developer Help

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