ArcObjects Library Reference  (Carto)    

IRasterLayer.CreateFromRaster Method

Creates a layer from a Raster object.

[Visual Basic 6.0]
Sub CreateFromRaster(
    ByVal Raster As IRaster _
)
[Visual Basic .NET]
Public Sub CreateFromRaster ( _
    ByVal Raster As IRaster _
)
[C#]
public void CreateFromRaster (
    IRaster Raster
);
[Java]
public void createFromRaster (
    IRaster Raster
)
throws
    IOException,
    AutomationException
[C++]
HRESULT CreateFromRaster(
  IRaster* Raster
);
[C++]

Parameters

Raster [in]

  Raster is a parameter of type IRaster

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IRasterLayer Interface