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 Properties | Statements - Set Service Area Properties | Set Service Area Properties2 |

.NET Samples

Network Analyst Engine application (Code Files: frmNALayerProperties) | Service area application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ServiceArea_GISServerAPIClass) |