ArcObjects Library Reference (DataSourcesRaster)  

IRasterGeometryProc3.Mosaic Method

Mosaics the input rasters into a single dataset.

[Visual Basic .NET]
Public Function Mosaic ( _
    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 Mosaic (
    string saveas_name,
    IWorkspace pWorkspace,
    string outRasterFormat,
    double CellSize,
    ISpatialReference pSR,
    IRaster pRaster
);
[C++]
HRESULT Mosaic(
  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