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

IRasterSurface.PutRaster Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IR > IRasterSurface Interface > IRasterSurface.PutRaster Method
ArcGIS Developer Help

IRasterSurface.PutRaster Method

Sets a raster with a specified band index.

[Visual Basic .NET]
Public Sub PutRaster ( _
    ByVal Raster As IRaster, _
    ByVal bandIndex As Integer _
public void PutRaster (
    IRaster Raster,
    int bandIndex
HRESULT PutRaster(
  IRaster* Raster,
  long bandIndex
Raster [in]

Raster is a parameter of type IRaster* bandIndex [in]
bandIndex is a parameter of type long

Product Availability

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

See Also

IRasterSurface Interface