This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IG > IGeocodingProperties Interface > IGeocodingProperties.EndOffset Property (ArcObjects .NET 10.5 SDK) |
End offset percentage.
[Visual Basic .NET] Public Property EndOffset As Integer
[C#] public int EndOffset {get; set;}
[C++]
HRESULT get_EndOffset(
long* EndOffset
);
[C++]
HRESULT put_EndOffset(
long EndOffset
);
[C++]
Parameters EndOffset [out, retval] EndOffset is a parameter of type long EndOffset [in] EndOffset is a parameter of type long
Locators that use polyline features as reference data interpolate positions along reference data features for geocoded addresses. In order to prevent features that are located at the end of a reference data feature from falling on top of other features (for example, a cross street), the locator can apply a �squeeze factor�, or end offset, to the location of a geocoded address.
The EndOffset property specifies by what amount to offset geocoded locations from the end of reference data features, and is expressed as a percentage of the length of the reference feature, between 0 percent and 50 percent. An EndOffset value of 0 will not offset features from the end of the reference feature. An EndOffset value of 50 percent will locate all geocoded addresses at the middle of the reference feature.
Warning: Do not use EndOffset in combination with EndOffsetDistanceUnits from IGeocodingProperties2 because it may produce some unexpected results. Use EndOffsetDistance in combination with EndOffsetDistanceUnits instead.