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


ISnappingEnvironment.Tolerance Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

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(
  long tol
);
[C++]

Parameters tol [out, retval] tol is a parameter of type long tol [in] 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