public enum RasterMosaicOperatorType : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum RasterMosaicOperatorType Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
public enum RasterMosaicOperatorType : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum RasterMosaicOperatorType Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
Blend | Blend. |
First | First. |
Last | Last. |
Max | Maximum. |
Mean | Mean. |
Min | Minimum. |
Sum | Sum. |
await QueuedTask.Run(() => { // Get the image sub-layer from the mosaic layer. ImageServiceLayer mosaicImageSublayer = mosaicLayer.GetImageLayer() as ImageServiceLayer; // Get the mosaic rule. CIMMosaicRule mosaicRule = mosaicImageSublayer.GetMosaicRule(); // Set the Mosaic Operator to Mean. mosaicRule.MosaicOperatorType = RasterMosaicOperatorType.Mean; // Update the mosaic with the changed mosaic rule. mosaicImageSublayer.SetMosaicRule(mosaicRule); });
await QueuedTask.Run(() => { // Get the mosaic rule of the image service. CIMMosaicRule mosaicingRule = isLayer.GetMosaicRule(); // Set the Mosaic Operator to Mean. mosaicingRule.MosaicOperatorType = RasterMosaicOperatorType.Mean; // Update the image service with the changed mosaic rule. isLayer.SetMosaicRule(mosaicingRule); });
System.Object
System.ValueType
System.Enum
ArcGIS.Core.CIM.RasterMosaicOperatorType
Target Platforms: Windows 11, Windows 10, Windows 8.1