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


IEngineSnapEnvironment.SnapTolerance Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineSnapEnvironment Interface > IEngineSnapEnvironment.SnapTolerance Property
ArcGIS Developer Help

IEngineSnapEnvironment.SnapTolerance Property

The snap tolerance, measured in pixels or map units.

[Visual Basic .NET]
Public Property SnapTolerance As Double
[C#]
public double SnapTolerance {get; set;}
[C++]
HRESULT get_SnapTolerance(
  System.Double* tol
);
[C++]
HRESULT put_SnapTolerance(
  double tol
);
[C++]
Parameters
tol [out, retval]

tol is a parameter of type double* tol [in]
tol is a parameter of type double

Product Availability

Available with ArcGIS Engine.

Description

SnapTolerance determines the size of the region bounding the input point location. It is given as a radius, measured in pixels, and the search for a potential snap point candidate is made within this region. By default SnapTolerance is 7.

Errors Returned

1084 800a043c: The specified value is invalid

See Also

IEngineSnapEnvironment Interface

.NET Samples

Buffer snap agent Managing snap agents