ArcObjects Library Reference (Carto)  

IRasterLayer.CreateFromDataset Method

Creates a layer from a RasterDataset object.

[Visual Basic .NET]
Public Sub CreateFromDataset ( _
    ByVal RasterDataset As IRasterDataset _
)
[C#]
public void CreateFromDataset (
    IRasterDataset RasterDataset
);
[C++]
HRESULT CreateFromDataset(
  IRasterDataset* RasterDataset
);
[C++]

Parameters

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