This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicSnapEnvironment Interface > IGraphicSnapEnvironment.AddSnapAgent Method (ArcObjects .NET 10.5 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