This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALocatorFeatureAgent Interface > INALocatorFeatureAgent.SnapType Property (ArcObjects .NET 10.4 SDK) |
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 [out, retval]
pHitPartType is a parameter of type esriGeometryHitPartType pHitPartType [in]
pHitPartType is a parameter of type esriGeometryHitPartType
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).