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


IRasterImportOp.ImportFromFLOAT Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoAnalyst)  

IRasterImportOp.ImportFromFLOAT Method

Imports a Float GRID file into a RasterDataset.

[Visual Basic .NET]
Public Function ImportFromFLOAT ( _
    ByVal floatFile As String, _
    ByVal OutWorkspace As IWorkspace, _
    ByVal outRasterName As String, _
    ByVal OutRasterFormat As String _
) As IRasterDataset
[C#]
public IRasterDataset ImportFromFLOAT (
    string floatFile,
    IWorkspace OutWorkspace,
    string outRasterName,
    string OutRasterFormat
);
[C++]
HRESULT ImportFromFLOAT(
  BSTR floatFile,
  IWorkspace* OutWorkspace,
  BSTR outRasterName,
  BSTR OutRasterFormat,
  IRasterDataset** ppOut
);
[C++]

Parameters floatFile [in] floatFile is a parameter of type BSTR OutWorkspace [in]
OutWorkspace is a parameter of type IWorkspace outRasterName [in] outRasterName is a parameter of type BSTR OutRasterFormat [in] OutRasterFormat is a parameter of type BSTR ppOut [out, retval]
ppOut is a parameter of type IRasterDataset

Product Availability

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

Remarks

floatFile

The input floating point binary file to be converted

OutWorkspace

an object specifying the directory or subdirectory to contain the output raster dataset

outRasterName

The name of the output raster dataset to be created

OutRasterFormat

ESRI GRID, ERDAS Imagine or TIFF formats are supported. The strings for outRasterFormat are "GRID", "IMAGINE Image" and "TIFF" respectively and they are case sensitive.

The format string �GRID� creates an output ESRI GRID with no file extension

The format string "TIFF" creates a TIFF file with ".tif" extension. ArcGIS also supports TIFF format with ".tiff" and ".tff" extensions. A format string "TIF" creates a TIFF file with ".tiff" extention and a format string "TFF" creates a TIFF file with ".tff" extension

The format string �IMAGINE Image� creates a raster output with �.img� file extension

See Also

IRasterImportOp Interface