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


IGraphicSnapEnvironment.AddSnapAgent Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicSnapEnvironment Interface > IGraphicSnapEnvironment.AddSnapAgent Method
ArcGIS Developer Help

IGraphicSnapEnvironment.AddSnapAgent Method

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*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGraphicSnapEnvironment Interface