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


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

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