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


IRasterLayer.CreateFromDataset Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterLayer Interface > IRasterLayer.CreateFromDataset Method
ArcGIS Developer Help

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