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


IGraphicSnapEnvironment.AddSnapAgent Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

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