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