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


IEngineSnapEnvironment.SnapTolerance Property (ArcObjects .NET 10.4 SDK)
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

Managing snap agents (Code Files: SnapEditorForm) | Buffer snap agent (Code Files: EditingForm)

.NET Related Topics

How to work with the snap environment