public enum RasterMosaicMethod : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum RasterMosaicMethod Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
public enum RasterMosaicMethod : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum RasterMosaicMethod Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
| Member | Description |
|---|---|
| Attribute | Attribute. |
| Center | Center. |
| LockRaster | Lock raster. |
| Nadir | Nadir. |
| None | None. |
| Northwest | Northwest. |
| Seamline | Seamline. |
| Viewpoint | Viewpoint. |
await QueuedTask.Run(() => { // Get the image sub-layer from the mosaic layer. ImageServiceLayer mosaicImageSubLayer = mosaicLayer.GetImageLayer() as ImageServiceLayer; // Get the mosaic rule. CIMMosaicRule mosaicingRule = mosaicImageSubLayer.GetMosaicRule(); // Set the Mosaic Method to Center. mosaicingRule.MosaicMethod = RasterMosaicMethod.Center; // Update the mosaic with the changed mosaic rule. mosaicImageSubLayer.SetMosaicRule(mosaicingRule); });
await QueuedTask.Run(() => { // Get the mosaic rule of the image service. CIMMosaicRule mosaicRule = isLayer.GetMosaicRule(); // Set the Mosaic Method to Center. mosaicRule.MosaicMethod = RasterMosaicMethod.Center; // Update the image service with the changed mosaic rule. isLayer.SetMosaicRule(mosaicRule); });
System.Object
System.ValueType
System.Enum
ArcGIS.Core.CIM.RasterMosaicMethod
Target Platforms: Windows 11, Windows 10