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


IPixelResampler.Resample Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IPixelResampler.Resample Method

Resamples an input pixel block into an output pixel block.

[Visual Basic .NET]
Public Sub Resample ( _
    ByVal iCol As Integer, _
    ByVal iRow As Integer, _
    ByVal nCols As Integer, _
    ByVal nRows As Integer, _
    ByRef points As WKSPoint, _
    ByVal ulx As Double, _
    ByVal uly As Double, _
    ByVal Dx As Double, _
    ByVal Dy As Double, _
    ByVal pSrcPixelBlock As IPixelBlock, _
    ByVal pDstPixelBlock As IPixelBlock _
)
[C#]
public void Resample (
    int iCol,
    int iRow,
    int nCols,
    int nRows,
    ref WKSPoint points,
    ref double ulx,
    ref double uly,
    ref double Dx,
    ref double Dy,
    ref IPixelBlock pSrcPixelBlock,
    ref IPixelBlock pDstPixelBlock
);
[C++]
HRESULT Resample(
  long iCol,
  long iRow,
  long nCols,
  long nRows,
  _WKSPoint* points,
  double ulx,
  double uly,
  double Dx,
  double Dy,
  IPixelBlock* pSrcPixelBlock,
  IPixelBlock* pDstPixelBlock
);
[C++]

Parameters iCol [in] iCol is a parameter of type long iRow [in] iRow is a parameter of type long nCols [in] nCols is a parameter of type long nRows [in] nRows is a parameter of type long points [in]
points is a parameter of type _WKSPoint ulx [in] ulx is a parameter of type double uly [in] uly is a parameter of type double Dx [in] Dx is a parameter of type double Dy [in] Dy is a parameter of type double pSrcPixelBlock [in]
pSrcPixelBlock is a parameter of type IPixelBlock pDstPixelBlock [in]
pDstPixelBlock is a parameter of type IPixelBlock

Product Availability

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

See Also

IPixelResampler Interface