public enum RasterResamplingType : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum RasterResamplingType Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
public enum RasterResamplingType : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum RasterResamplingType Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
| Member | Description |
|---|---|
| Average | Average. |
| BilinearGaussianBlur | Bilinear Gaussian blur. |
| BilinearGaussianBlurPlus | Bilinear Gaussian blur plus. |
| BilinearInterpolation | Bilinear interpolation. |
| BilinearInterpolationPlus | Bilinear interpolation plus. |
| CubicConvolution | Cubic convolution. |
| Majority | Majority. |
| Maximum | Maximum. |
| Minimum | Minimum. |
| NearestNeighbor | Nearest neighbor. |
| VectorAverage | Vector average. |
await QueuedTask.Run(() => { // Get the colorizer from the raster layer. CIMRasterColorizer rasterColorizer = rasterLayer.GetColorizer(); // Update raster colorizer properties. rasterColorizer.Brightness = 10; rasterColorizer.Contrast = -5; rasterColorizer.ResamplingType = RasterResamplingType.NearestNeighbor; // Update the raster layer with the changed colorizer. rasterLayer.SetColorizer(rasterColorizer); });
await QueuedTask.Run(() => { // Get the image sub-layer from the mosaic layer. ImageMosaicSubLayer mosaicImageSubLayer = mosaicLayer.GetImageLayer(); // Get the colorizer from the image sub-layer. CIMRasterColorizer rasterColorizer = mosaicImageSubLayer.GetColorizer(); // Update raster colorizer properties. rasterColorizer.Brightness = 10; rasterColorizer.Contrast = -5; rasterColorizer.ResamplingType = RasterResamplingType.NearestNeighbor; // Update the image sub-layer with the changed colorizer. mosaicImageSubLayer.SetColorizer(rasterColorizer); });
await QueuedTask.Run(() => { // Get the colorizer from the image service layer. CIMRasterColorizer rasterColorizer = isLayer.GetColorizer(); // Update the colorizer properties. rasterColorizer.Brightness = 10; rasterColorizer.Contrast = -5; rasterColorizer.ResamplingType = RasterResamplingType.NearestNeighbor; // Update the image service layer with the changed colorizer. isLayer.SetColorizer(rasterColorizer); });
System.Object
System.ValueType
System.Enum
ArcGIS.Core.CIM.RasterResamplingType
Target Platforms: Windows 11, Windows 10