ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ImageServiceLayer Class
Members Example

In This Topic
    ImageServiceLayer Class
    In This Topic
    Represents an image service layer.
    Object Model
    ImageServiceLayer ClassDefinitionQuery ClassCIMRasterColorizer ClassCIMRasterColorizer ClassCIMDataConnection ClassTimeExtent ClassCIMBaseLayer ClassElevationTypeDefinition ClassCIMMosaicRule ClassRaster ClassCIMRenderingRule ClassSpatialReference ClassTimeParameters ClassMap ClassILayerContainer InterfaceEnvelope ClassDefinitionQuery Class
    Syntax
    Remarks
    The image service layer is a representation of an image service. The image service layer is drawn based on the ArcGIS.Core.CIM.CIMRasterColorizer
    Example
    Create an image service layer
    ImageServiceLayer isLayer = null;
    string url =
    @"http://imagery.arcgisonline.com/arcgis/services/LandsatGLS/GLS2010_Enhanced/ImageServer";
    await QueuedTask.Run(() =>
    {
      // Create an image service layer using the url for an image service.
      isLayer = LayerFactory.Instance.CreateLayer(new Uri(url), aMap) as ImageServiceLayer;
    });
    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase
          ArcGIS.Desktop.Mapping.MapMember
             ArcGIS.Desktop.Mapping.Layer
                ArcGIS.Desktop.Mapping.BasicRasterLayer
                   ArcGIS.Desktop.Mapping.ImageServiceLayer
                      ArcGIS.Desktop.Mapping.ImageMosaicSubLayer

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also