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


esriGeoAnalysisPathEnum Constants (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

esriGeoAnalysisPathEnum Constants

Cost path types in Spatial Analyst.

Constant Value Description
esriGeoAnalysisPathForEachCell 1 A cost path is calculated for each cell in the source.
esriGeoAnalysisPathForEachZone 2 A cost path is calculated for each zone in the source.
esriGeoAnalysisPathBestSingle 3 The best single cost path for all source cells is calculated.

Product Availability

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

.NET Snippets

Create DistanceOp Cost Path Raster