This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterLayer Interface > IRasterLayer.CreateFromDataset Method (ArcObjects .NET 10.5 SDK) |
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