This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IT > ITransformationOp Interface > ITransformationOp.Resample Method (ArcObjects .NET 10.5 SDK) |
Resamples raster to a new cell size.
[Visual Basic .NET] Public Function Resample ( _ ByVal GeoDataset As IGeoDataset, _ ByVal newCellsize As Double, _ ByVal resampleType As esriGeoAnalysisResampleEnum _ ) As IGeoDataset
[C#] public IGeoDataset Resample ( IGeoDataset GeoDataset, double newCellsize, esriGeoAnalysisResampleEnum resampleType );
[C++]
HRESULT Resample(
IGeoDataset* GeoDataset,
double newCellsize,
esriGeoAnalysisResampleEnum resampleType,
IGeoDataset** outGeoDataset
);
[C++]
Parameters GeoDataset [in]
GeoDataset is a parameter of type IGeoDataset newCellsize [in] newCellsize is a parameter of type double resampleType [in]
resampleType is a parameter of type esriGeoAnalysisResampleEnum outGeoDataset [out, retval]
outGeoDataset is a parameter of type IGeoDataset
GeoDataSet |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor |
newCellsize |
The cell size the output raster will be created at. This will be the value in the Environment if it is explicitly set. Otherwise, it is the shortest of the width or the height of the extent of in_point_features, in the input spatial reference, divided by 250. |
resampleType |
an esriGeoAnalysisResampleEnum specifing the resampling algorithm to be used when sampling a Raster can be of type: esriGeoAnalysisResampleBilinear - bilinear interpolation. This is Default. esriGeoAnalysisResampleCubic - cubic convolution. esriGeoAnalysisResampleNearest - nearest neighbor assignment. |