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


IRasterLayer.CreateFromRaster 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.CreateFromRaster Method
ArcGIS Developer Help

IRasterLayer.CreateFromRaster Method

Creates a layer from a Raster object.

[Visual Basic .NET]
Public Sub CreateFromRaster ( _
    ByVal Raster As IRaster _
)
[C#]
public void CreateFromRaster (
    IRaster Raster
);
[C++]
HRESULT CreateFromRaster(
  IRaster* Raster
);
[C++]
Parameters
Raster [in]

Raster is a parameter of type IRaster*

Product Availability

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

See Also

IRasterLayer Interface