ArcObjects Library Reference  (Carto)    

IRasterLayer.CreateFromDataset Method

Creates a layer from a RasterDataset object.

[Visual Basic 6.0]
Sub CreateFromDataset(
    ByVal RasterDataset As IRasterDataset _
)
[Visual Basic .NET]
Public Sub CreateFromDataset ( _
    ByVal RasterDataset As IRasterDataset _
)
[C#]
public void CreateFromDataset (
    IRasterDataset RasterDataset
);
[Java]
public void createFromDataset (
    IRasterDataset RasterDataset
)
throws
    IOException,
    AutomationException
[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