This document is archived and information here might be outdated.  Recommended version.


IImageServer4 Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IImageServer4 Interface

Provides access to members that control an image server object (SO).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method Add Adds a list of raster items for sharing with other users (roles).
Method ComputeHistograms Computes histograms within an area of interest.
Method CreateView Creates a new view.
Method Delete Deletes a given list of raster items (images).
Method DeleteView Deletes the view of a given view ID.
Method Download Clips images to a given geometry, and returns a list of downloadable files for a given set of catalog item IDs.
Method Execute Executes a named image server processing command.
Method ExportImage Exports into a well-known image for a given image description.
Method ExportMapImage Exports into a well-known image with a correct aspect ratio for a given image description.
Read-only property Fields The fields of the image catalog.
Method GenerateServiceInfo Generates the image service information as if a given rendering rule is applied.
Method GetCatalogItemCount Gets the catalog item count for a given query filter.
Method GetCatalogItemIDs Gets the catalog item IDs for a given query filter.
Method GetCatalogItems Gets the catalog items for a given query filter.
Method GetFile Get the URL to a given download result.
Method GetImage Gets an image for a given image description.
Method GetNativePixelBlock Gets a pixel block at a given block location for a specified raw source raster.
Method GetNativeRasterInfo Gets raster information of all raw source rasters for a given raster catalog item.
Method GetPixelBlock Gets a pixel block at a given block location.
Method GetRasterInfo Gets the image information of a given raster catalog item.
Method GetRasterKeyProperties The key properties for a given raster catalog item.
Method GetRasterMetadata Gets the metadata of a given raster catalog item.
Method GetThumbnail Gets the thumbnail image of a given raster catalog item.
Method GetView Gets the view of a given view ID.
Method Identify Identifies the pixel value and catalog items at the given location.
Method IdentifyAll Identifies the pixel values and all catalog items at the given one or more locations.
Read-only property KeyProperties The image service key properties.
Method Measure Measures distance, angle, area, perimeter, and height.
Read-only property Metadata The image service metadata.
Read-only property RasterAttributeTable The raster attribute table.
Read-only property ServiceInfo The properties of the image service provided.
Method Update Updates a given list of raster items (images).
Method UpdateView Inserts and Removes raster items to a given view.
Read-only property Version The Image Server version number.

Inherited Interfaces

Interfaces Description
IImageServer3 Provides access to members that control an image server object (SO).
IImageServer2 Provides access to members that control an image server.
IImageServer Provides access to members that control an image server.

CoClasses that implement IImageServer4

CoClasses and Classes Description
ImageServer The ArcGIS Server Image Server class.

Remarks

IImageServer4  interface provides methods accessing the catalog of an image service such as select catalog items based on a query, get the catalog items, metadata, and download the selected items. It also provides methods to get raster attribute table, edit image service and perform mensuration.

Editing is supported when data source is a mosaic dataset stored in SDE, and not supported on other formats and workspaces.

An ImageServer object can be created from multiple data models: raster dataset, mosaic dataset, or layer file. Table below lists the supported methods with regards to the data models.

Methods

Mosaic

Dataset

Raster

Dataset

Raster

Layer File

GetVersion yes yes yes
GetServiceInfo yes yes yes
GetImage yes yes yes
ExportImage yes yes yes
ExportMapImage yes yes yes
GetMetadata yes yes yes
GenerateServiceInfo yes yes yes
Identify yes yes yes
IdentifyAll yes yes yes
ComputeHistograms yes yes yes
Measure yes yes yes
GetKeyProperties yes yes yes
GetRasterAttributeTable yes yes yes
Add yes no no
Update yes no no
Delete yes no no
GetRasterKeyProperties yes no no
GetCatalogItemCount yes no no
GetCatalogItemIDs yes no no
GetCatalogItems yes no no
GetThumnail yes no no
GetRasterMetadata yes no no
GetRasterInfo yes no no
GetPixelBlock yes no no
GetNativeRasterInfo yes no no
GetNativePixelBlock yes no no
GetFields yes no no
Download yes no no
GetFile yes no no