ArcObjects Library Reference (DataSourcesRaster)  

IRasterGeometryProc2.Merge Method

Merges the input rasters into a single dataset.

[Visual Basic .NET]
Public Function Merge ( _
    ByVal saveas_name As String, _
    ByVal ipWorkspace As IWorkspace, _
    ByVal outRasterFormat As String, _
    ByVal CellSize As Double, _
    ByVal ipSR As ISpatialReference, _
    ByVal pRaster As IRaster _
) As IRaster
[C#]
public IRaster Merge (
    string saveas_name,
    IWorkspace ipWorkspace,
    string outRasterFormat,
    double CellSize,
    ISpatialReference ipSR,
    IRaster pRaster
);
[C++]
HRESULT Merge(
  BSTR saveas_name,
  IWorkspace* ipWorkspace,
  BSTR outRasterFormat,
  double CellSize,
  ISpatialReference* ipSR,
  IRaster* pRaster,
  IRaster** ippOutRaster
);
[C++]

Parameters

saveas_name [in]   saveas_name is a parameter of type BSTR ipWorkspace [in]

  ipWorkspace is a parameter of type IWorkspace

outRasterFormat [in]   outRasterFormat is a parameter of type BSTR CellSize [in]   CellSize is a parameter of type double ipSR [in]

  ipSR is a parameter of type ISpatialReference

pRaster [in]

  pRaster is a parameter of type IRaster

ippOutRaster [out, retval]

  ippOutRaster is a parameter of type IRaster

Product Availability

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

See Also

IRasterGeometryProc2 Interface