ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / RasterImageryOptions Class / SetResampleType Method
The resampling method.
Version

SetResampleType Method
Sets the resampling method. Must be one of ArcGIS.Core.CIM.RasterResamplingType.NearestNeighbor, ArcGIS.Core.CIM.RasterResamplingType.BilinearInterpolation or ArcGIS.Core.CIM.RasterResamplingType.CubicConvolution. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetResampleType( 
   RasterResamplingType resampleType
)

Parameters

resampleType
The resampling method.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
An invalid resample type was specified.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.4 or higher.
See Also