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


INAServiceAreaSolver2.TrimPolygonDistanceUnits Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAServiceAreaSolver2.TrimPolygonDistanceUnits Property

If polygons are being trimmed, provides the units of the distance to trim.

[Visual Basic .NET]
Public Property TrimPolygonDistanceUnits As esriUnits
[C#]
public esriUnits TrimPolygonDistanceUnits {get; set;}
[C++]
HRESULT get_TrimPolygonDistanceUnits(
  esriUnits* Units
);
[C++]
HRESULT put_TrimPolygonDistanceUnits(
  esriUnits Units
);
[C++]

Parameters Units [out, retval]
Units is a parameter of type esriUnits Units [in]
Units is a parameter of type esriUnits

Product Availability

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

Remarks

TrimPolygonDistanceUnits specifies the length units used by TrimPolygonDistance, which in turn limits the distance of the outer service-area polygon from the source features.  This is useful to reduce the area of the outer service area polygon in sparse networks.

See Also

INAServiceAreaSolver2 Interface

.NET Snippets

Set Service Area Properties2 | Statements - Set Service Area Properties | Set Service Area Properties

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties)