This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAClassLoader2 Interface > INAClassLoader2.SnapToNetwork Property (ArcObjects .NET 10.5 SDK) |
Indicates if the geometry should be snapped to the network.
[Visual Basic .NET] Public Property SnapToNetwork As Boolean
[C#] public bool SnapToNetwork {get; set;}
[C++]
HRESULT get_SnapToNetwork(
VARIANT_BOOL* enabled
);
[C++]
HRESULT put_SnapToNetwork(
VARIANT_BOOL enabled
);
[C++]
Parameters enabled [out, retval] enabled is a parameter of type VARIANT_BOOL enabled [in] enabled is a parameter of type VARIANT_BOOL
SnapToNetwork specifies if the network location's geometry should be snapped to where it lies on the network dataset during load.
Specify the SnapOffsetDistance and SnapOffsetUnits if you want the network location offset a fixed difference from the true snap location. This is useful if you care about the side of the road the network location is on.