This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicSnapEnvironment2 Interface > IGraphicSnapEnvironment2.AddSnapAgent Method (ArcObjects .NET 10.4 SDK) |
Add a new snap agent to the environment.
[Visual Basic .NET] Public Sub AddSnapAgent ( _ ByVal SnapAgent As IGraphicSnap _ )
[C#] public void AddSnapAgent ( IGraphicSnap SnapAgent );
[C++]
HRESULT AddSnapAgent(
IGraphicSnap* SnapAgent
);
[C++]
Parameters SnapAgent [in]
SnapAgent is a parameter of type IGraphicSnap