ArcObjects Library Reference (GeoAnalyst)  

IRasterConvertHelper.ToRaster3 Method

Converts three GeoDatasets to three Rasters.

[Visual Basic .NET]
Public Sub ToRaster3 ( _
    ByVal pIn1 As IGeoDataset, _
    ByVal pIn2 As IGeoDataset, _
    ByVal pIn3 As IGeoDataset, _
    ByVal rasterFormat As String, _
    ByVal rasterEnv As IRasterAnalysisEnvironment, _
    ByRef ppOut1 As IRaster, _
    ByRef ppOut2 As IRaster, _
    ByRef ppOut3 As IRaster _
)
[C#]
public void ToRaster3 (
    IGeoDataset pIn1,
    IGeoDataset pIn2,
    IGeoDataset pIn3,
    string rasterFormat,
    IRasterAnalysisEnvironment rasterEnv,
    ref IRaster ppOut1,
    ref IRaster ppOut2,
    ref IRaster ppOut3
);
[C++]
HRESULT ToRaster3(
  IGeoDataset* pIn1,
  IGeoDataset* pIn2,
  IGeoDataset* pIn3,
  BSTR rasterFormat,
  IRasterAnalysisEnvironment* rasterEnv,
  IRaster** ppOut1,
  IRaster** ppOut2,
  IRaster** ppOut3
);
[C++]

Parameters

pIn1 [in]

  pIn1 is a parameter of type IGeoDataset

pIn2 [in]

  pIn2 is a parameter of type IGeoDataset

pIn3 [in]

  pIn3 is a parameter of type IGeoDataset

rasterFormat [in]   rasterFormat is a parameter of type BSTR rasterEnv [in]

  rasterEnv is a parameter of type IRasterAnalysisEnvironment

ppOut1 [out]

  ppOut1 is a parameter of type IRaster

ppOut2 [out]

  ppOut2 is a parameter of type IRaster

ppOut3 [out]

  ppOut3 is a parameter of type IRaster

Product Availability

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

Remarks

rasterFormat

ESRI GRID, ERDAS Imagine or TIFF formats are supported. The strings for rasterformat 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

IRasterConvertHelper Interface