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


IImageServer4.Add Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IImageServer4.Add Method

Adds a list of raster items for sharing with other users (roles).

[Visual Basic .NET]
Public Function Add ( _
    ByVal pItemDescriptions As IRasterItemDescriptions _
) As IImageServerEditResults
[C#]
public IImageServerEditResults Add (
    IRasterItemDescriptions pItemDescriptions
);
[C++]
HRESULT Add(
  IRasterItemDescriptions* pItemDescriptions,
  IImageServerEditResults** ppResults
);
[C++]

Parameters pItemDescriptions [in]
pItemDescriptions is a parameter of type IRasterItemDescriptions ppResults [out, retval]
ppResults is a parameter of type IImageServerEditResults

Product Availability

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

Description

Add rasters to an image service (created from a SDE mosaic dataset) using the given RasterItemDescriptions

Remarks

Use Add method to add raster datasets, or other supported raster types (defined by the image service) to image service. Supported raster types are available through IImageServiceInfo3.

RasterItemDescription describes all required information, including name and location of the raster files (through shared path or http), visibility range, attribute values, raster type etc. If the source rasters are not georeferenced, georeferncing information (geodataTransformations) can be specified in RasterItemDescription.

See Also

IImageServer4 Interface