Show / Hide Table of Contents

Property ResamplingType

ResamplingType

Gets or sets the resampling policy or method used when rendering raster data in this layer.

Declaration
public RasterResamplingType ResamplingType { get; set; }
Property Value
Type Description
RasterResamplingType

The resampling policy or method used when rendering raster data in this layer.

Remarks

Controls how raster cell values are calculated when the layer is rendered at a different resolution than the raster's native cell size, or when the raster is transformed (for example, scaled or reprojected). Different resampling methods trade off visual smoothness and preservation of original values.

This property defaults to Automatic, which indicates that the resampling method should be determined automatically. Set this property to a specific method (for example, NearestNeighbor) to explicitly override resampling for the layer.

When set to Automatic, the resampling method used for rendering is automatically determined based on the raster properties. By default, NearestNeighbor is applied to preserve data values. For rasters that are known to contain continuous data, BilinearInterpolation is applied to produce smoother visual transitions. The resampling method is determined asynchronously when the raster data source is loaded and rendered.

See Also
LayerViewState

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.