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


ISnappingEnvironment.Tolerance 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.Tolerance Property
ArcGIS Developer Help

ISnappingEnvironment.Tolerance Property

Sets the snap tolerance in pixels.

[Visual Basic .NET]
Public Property Tolerance As Integer
[C#]
public int Tolerance {get; set;}
[C++]
HRESULT get_Tolerance(
  long tol
);
[C++]
HRESULT put_Tolerance(
  System.Int32* tol
);
[C++]
Parameters
tol [in]

tol is a parameter of type long tol [out, retval]
tol is a parameter of type long*

Product Availability

Available with ArcGIS Engine.

Remarks

The tolerance defines the distance used to determine whether a given snapping type is satisfied.  The tolerance is defined in pixels; the default is 7 pixels. 


The tolerance is an application-level setting.

See Also

ISnappingEnvironment Interface