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


ISnapEnvironment.AddSnapAgent Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Editor)  

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

.NET Related Topics

Working with the editor snap environment