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


IHydrologyOp2.Fill Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IH > IHydrologyOp2 Interface > IHydrologyOp2.Fill Method
ArcGIS Developer Help

IHydrologyOp2.Fill Method

Fills sinks in a surface to remove small imperfections in the data.

[Visual Basic .NET]
Public Function Fill ( _
    ByVal surfaceRaster As IGeoDataset, _
    [ByRef zLimit As Object] _
) As IGeoDataset
[C#]
public IGeoDataset Fill (
    IGeoDataset surfaceRaster,
    ref object zLimit
);
[C++]
HRESULT Fill(
  IGeoDataset* surfaceRaster,
  Variant* zLimit
);
[C++]
Parameters
surfaceRaster [in]

surfaceRaster is a parameter of type IGeoDataset* zLimit [in, optional]
zLimit is a parameter of type VARIANT*

Product Availability

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

Remarks

surfaceRaster

a raster representing an elevation surface

[zLimit]

The maximum elevation difference between sink and its pour point to be filled. If the difference in z value between a sink and itps pour point is greater than {zLimit}, that sink will not be filled.

The default is to fill all sinks regardless of depth.

 

See Also

IHydrologyOp2 Interface