ArcObjects Library Reference (Controls)  

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(
  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 (Code Files: EditingForm) | Managing snap agents (Code Files: SnapEditorForm) |

.NET Related Topics

How to work with the snap environment |