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


IZonalOp.ZonalGeometry Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

IZonalOp.ZonalGeometry Method

Calculates for each zone of the input zone Dataset the specified geometry measure.

[Visual Basic .NET]
Public Function ZonalGeometry ( _
    ByVal zoneDataset As IGeoDataset, _
    ByVal Type As esriGeoAnalysisZonalGeometryEnum _
) As IGeoDataset
[C#]
public IGeoDataset ZonalGeometry (
    IGeoDataset zoneDataset,
    esriGeoAnalysisZonalGeometryEnum Type
);
[C++]
HRESULT ZonalGeometry(
  IGeoDataset* zoneDataset,
  esriGeoAnalysisZonalGeometryEnum Type
);
[C++]

Parameters zoneDataset [in]
zoneDataset is a parameter of type IGeoDataset* Type [in]
Type is a parameter of type esriGeoAnalysisZonalGeometryEnum

Product Availability

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

Remarks

zoneDataset an input Raster, RasterDataset, RasterBand, or RasterDescriptor or FeatureClass, FeatureClassDescriptor that identifies the zone for each cell location
type an esriGeoAnalysisZonalGeometryEnum that defines which zonal calculations will be performed on the zoneDataset

The esriGeoAnalysisZonalGeometryEnums are:

esriGeoAnalysisZonalGeometryArea for zonal area calculations.

esriGeoAnalysisZonalGeometryCentroid for zone centroid calculations.

esriGeoAnalysisZonalGeometryPerimeter for zonal perimeter calculations.

esriGeoAnalysisZonalGeometryThickness for zonal thickness calculations.

For complete information on the zonal calculations performed by each esriGeoAnalysisZonalGeometryEnum, refer to the individual command reference.

See Also

IZonalOp Interface