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


IRasterLayer.CreateFromFilePath Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IRasterLayer.CreateFromFilePath Method

Creates a layer from a file path to raster data.

[Visual Basic .NET]
Public Sub CreateFromFilePath ( _
    ByVal FilePath As String _
)
[C#]
public void CreateFromFilePath (
    string FilePath
);
[C++]
HRESULT CreateFromFilePath(
  BSTR FilePath
);
[C++]

Parameters FilePath [in] FilePath is a parameter of type BSTR

Product Availability

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

See Also

IRasterLayer Interface

.NET Snippets

Add Drape Layer to Globe Elevation Surface

.NET Related Topics

GlobeCore | How to drape a layer on an elevation surface in globe