This document is archived and information here might be outdated. Recommended version. |
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(
Boolean* enabled
);
[C++] Parameters enabled [in]
enabled is a parameter of type bool enabled [out, retval]
enabled is a parameter of type 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.