ArcObjects Library Reference (Controls)  

IEngineSnapEnvironment.SnapToleranceUnits Property

The units used for the snap tolerance.

[Visual Basic .NET]
Public Property SnapToleranceUnits As esriEngineSnapToleranceUnits
[C#]
public esriEngineSnapToleranceUnits SnapToleranceUnits {get; set;}
[C++]
HRESULT get_SnapToleranceUnits(
  esriEngineSnapToleranceUnits* units
);
[C++]
HRESULT put_SnapToleranceUnits(
  esriEngineSnapToleranceUnits units
);
[C++]

Parameters

units [out, retval]

  units is a parameter of type esriEngineSnapToleranceUnits

units [in]

  units is a parameter of type esriEngineSnapToleranceUnits

Product Availability

Available with ArcGIS Engine.

Description

SnapToleranceUnits defines the units used to define the radius used by active snap agents. By default The default SnapToleranceUnits is esriSnapTolerancePixels.

Errors Returned

1005 800a03ed: The value of a parameter which is an enumerated constant is out of the range of required values

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 |