This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IH > IHydrologyOp Interface > IHydrologyOp.Fill Method (ArcObjects .NET 10.5 SDK) |
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 );
Optional Values
[C++]
HRESULT Fill(
IGeoDataset* surfaceRaster,
VARIANT* zLimit,
IGeoDataset** Fill
);
[C++]
Parameters surfaceRaster [in]
surfaceRaster is a parameter of type IGeoDataset zLimit [optional] zLimit is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. Fill [out, retval]
Fill is a parameter of type IGeoDataset
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. |