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


IZonalOp.ZonalGeometry Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IZ > IZonalOp Interface > IZonalOp.ZonalGeometry Method
ArcGIS Developer Help

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