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


ISnapEnvironment.AddSnapAgent Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IS > ISnapEnvironment Interface > ISnapEnvironment.AddSnapAgent Method
ArcGIS Developer Help

ISnapEnvironment.AddSnapAgent Method

Adds a new snap agent to the snap environment.

[Visual Basic .NET]
Public Sub AddSnapAgent ( _
    ByVal SnapAgent As ISnapAgent _
)
[C#]
public void AddSnapAgent (
    ISnapAgent SnapAgent
);

Product Availability

Available with ArcGIS Desktop.

Remarks

AddSnapAgent activates and adds to the snap environment any valid snap agent, such as FeatureSnap, AnchorSnap, or PerpendicularSnap.

See Also

ISnapEnvironment Interface