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


ISnappingEnvironment.Enabled Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISnappingEnvironment Interface > ISnappingEnvironment.Enabled Property
ArcGIS Developer Help

ISnappingEnvironment.Enabled Property

Toggles snapping on/off.

[Visual Basic .NET]
Public Property Enabled As Boolean
[C#]
public bool Enabled {get; set;}
[C++]
HRESULT get_Enabled(
  Boolean* Snapping
);
[C++]
HRESULT put_Enabled(
  VARIANT_BOOL Snapping
);
[C++]
Parameters
Snapping [out, retval]

Snapping is a parameter of type bool* Snapping [in]
Snapping is a parameter of type bool

Product Availability

Available with ArcGIS Engine.

Remarks

The Enabled property determines whether the snapping environment is active.  If enabled, tools that utilize the mouse movement will return valid ISnappingResult references.  Because this is setting is shared across all tools and applications, it is not recommended that individual tools modify this setting.

See Also

ISnappingEnvironment Interface