ArcObjects Library Reference  (Carto)    

IRasterLayer.CreateFromFilePath Method

Creates a layer from a file path to raster data.

[Visual Basic 6.0]
Sub CreateFromFilePath(
    ByVal FilePath As String _
)
[Visual Basic .NET]
Public Sub CreateFromFilePath ( _
    ByVal FilePath As String _
)
[C#]
public void CreateFromFilePath (
    string FilePath
);
[Java]
public void createFromFilePath (
    String FilePath
)
throws
    IOException,
    AutomationException
[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