ArcObjects Library Reference (Carto)  

IGraphicSnapEnvironment2.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

IGraphicSnapEnvironment2 Interface