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


IRasterGeometryProc.Resample Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterGeometryProc.Resample Method

Resamples the input raster to a new cellsize.

[Visual Basic .NET]
Public Sub Resample ( _
    ByVal resampleType As rstResamplingTypes, _
    ByVal newCellsize As Double, _
    ByVal pRaster As IRaster _
)
[C#]
public void Resample (
    rstResamplingTypes resampleType,
    double newCellsize,
    IRaster pRaster
);
[C++]
HRESULT Resample(
  rstResamplingTypes resampleType,
  double newCellsize,
  IRaster* pRaster
);
[C++]

Parameters resampleType [in]
resampleType is a parameter of type rstResamplingTypes newCellsize [in] newCellsize is a parameter of type double pRaster [in]
pRaster is a parameter of type IRaster

Product Availability

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

See Also

IRasterGeometryProc Interface