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


INALocatorFeatureAgent.SnapType Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALocatorFeatureAgent Interface > INALocatorFeatureAgent.SnapType Property
ArcGIS Developer Help

INALocatorFeatureAgent.SnapType Property

The method of snapping used.

[Visual Basic .NET]
Public Property SnapType As esriGeometryHitPartType
[C#]
public esriGeometryHitPartType SnapType {get; set;}
[C++]
HRESULT get_SnapType(
  esriGeometryHitPartType pHitPartType
);
[C++]
HRESULT put_SnapType(
  esriGeometryHitPartType* pHitPartType
);
[C++]
Parameters
pHitPartType [in]

pHitPartType is a parameter of type esriGeometryHitPartType pHitPartType [out, retval]
pHitPartType is a parameter of type esriGeometryHitPartType*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

The SnapType property determines where along the feature the location will be found.  You can snap to endpoints or vertices (junctions) or anywhere along the line (edges).

See Also

INALocatorFeatureAgent Interface