This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISnappingEnvironment Interface > ISnappingEnvironment.Tolerance Property (ArcObjects .NET 10.5 SDK) |
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(
long tol
);
[C++]
Parameters tol [out, retval] tol is a parameter of type long tol [in] tol is a parameter of type long
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.