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


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

IZonalOp.ZonalFill Method

Fills zones using the minimum cell value from the 'weightRaster', along the zone boundary.

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

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

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 defining the zones to be filled
weightDataset an input Raster, RasterDataset, RasterBand, or RasterDescriptor whose values will be used to fill the zones

See Also

IZonalOp Interface