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


INAServiceAreaSolver2.TrimOuterPolygon Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAServiceAreaSolver2.TrimOuterPolygon Property

Indicates if the outermost polygon (at the maximum break value) will be trimmed.

[Visual Basic .NET]
Public Property TrimOuterPolygon As Boolean
[C#]
public bool TrimOuterPolygon {get; set;}
[C++]
HRESULT get_TrimOuterPolygon(
  VARIANT_BOOL* Value
);
[C++]
HRESULT put_TrimOuterPolygon(
  VARIANT_BOOL Value
);
[C++]

Parameters Value [out, retval] Value is a parameter of type VARIANT_BOOL Value [in] Value is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

If this is true, the outer polygon will be adjusted to be within the TrimPolygonDistance of the source features.  It is used to make the outer ring more cartographically pleasing by shrinking it to within a specified distance.  This operation is not the same as clipping or buffering. 

Small values for TrimPolygonDistance will increase processing time and may result in unusual looking polygons.

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)