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


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

IHydrologyOp.StreamLink Method

Assigns unique values to sections of a raster linear network between intersections.

[Visual Basic .NET]
Public Function StreamLink ( _
    ByVal streamRaster As IGeoDataset, _
    ByVal directionRaster As IGeoDataset _
) As IGeoDataset
[C#]
public IGeoDataset StreamLink (
    IGeoDataset streamRaster,
    IGeoDataset directionRaster
);
[C++]
HRESULT StreamLink(
  IGeoDataset* streamRaster,
  IGeoDataset* directionRaster
);
[C++]
Parameters
streamRaster [in]

streamRaster is a parameter of type IGeoDataset* directionRaster [in]
directionRaster is a parameter of type IGeoDataset*

Product Availability

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

Remarks

streamRaster

an input Raster, RasterDataset, RasterBand, or RasterDescriptor representing a raster linear network

directionRaster

an input Raster, RasterDataset, RasterBand, or RasterDescriptor showing the direction of flow out of each cell

This can be created using the IHydrologyOp::FlowDirection method.

 

See Also

IHydrologyOp Interface