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.CreateFromFilePath Method (ArcObjects .NET 10.5 SDK) |
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