Adds a new snap agent to the snap environment.
[Visual Basic .NET] Public Sub AddSnapAgent ( _ ByVal SnapAgent As IEngineSnapAgent _ )
[C#] public void AddSnapAgent ( IEngineSnapAgent SnapAgent );
[C++]
HRESULT AddSnapAgent(
IEngineSnapAgent* SnapAgent
);
[C++]Parameters
SnapAgent [in]SnapAgent is a parameter of type IEngineSnapAgent
Product Availability
Available with ArcGIS Engine.
Description
AddSnapAgent activates and adds to the snap environment any valid snap agent. Snap agents which have already been added are not changed by this method. Snap agents are identified by their SnapAgent.Name and GUID.