ArcObjects Library Reference (Carto)  

IRasterLayer.CreateFromDataset Method

Creates a layer from a RasterDataset object.

[Visual Basic .NET]
Public Sub CreateFromDataset ( _
    ByVal RasterDataset As IRasterDataset _
public void CreateFromDataset (
    IRasterDataset RasterDataset
HRESULT CreateFromDataset(
  IRasterDataset* RasterDataset


RasterDataset [in]

  RasterDataset is a parameter of type IRasterDataset

Product Availability

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

See Also

IRasterLayer Interface

.NET Snippets

Add GeoDataset Raster To Map

.NET Related Topics

How to create a raster layer