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


IRasterGeometryProc3.Merge Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterGeometryProc3.Merge Method

Merges the input rasters into a single dataset.

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

Parameters saveas_name [in] saveas_name is a parameter of type BSTR pWorkspace [in]
pWorkspace is a parameter of type IWorkspace outRasterFormat [in] outRasterFormat is a parameter of type BSTR CellSize [in] CellSize is a parameter of type double pSR [in]
pSR is a parameter of type ISpatialReference pRaster [in]
pRaster is a parameter of type IRaster ppOutRaster [out, retval]
ppOutRaster is a parameter of type IRaster

Product Availability

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

See Also

IRasterGeometryProc3 Interface