com.esri.arcgis.carto
Interface IImageServerInit

All Superinterfaces:
Serializable
All Known Implementing Classes:
ImageServer

public interface IImageServerInit
extends Serializable

Provides access to members that control image server initialization.

Description

This interface is new at ArcGIS 9.3.

Remarks

An image service can be initialized from a data path, a raster dataset, or a service URL of an ArcGIS Image Server service. Use Initialize to initialize a service with a full path name to the data. Use InitializeFromDataset to initialize a service with a raster dataset. Use InitializeFromServiceURL to initialize a service with a back-end ArcGIS Image Server service.

Product Availability

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


Method Summary
 IName getImageDataSourceName()
          The image server data source name.
 void initialize(String fullName)
          Initializes this image server from a fullname to a dataset.
 void initializeFromDataset(IRasterDataset pDataset)
          Initializes this image server from a Raster Dataset.
 void initializeFromServiceURL(String serviceURL)
          Initializes this image server from an AIS service URL (ImageService://:/).
 void setImageDataSourceNameByRef(IName ppName)
          The image server data source name.
 

Method Detail

initialize

void initialize(String fullName)
                throws IOException,
                       AutomationException
Initializes this image server from a fullname to a dataset.

Description

Initializes an ImageServer from a full path name to the data.

Product Availability

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

Parameters:
fullName - The fullName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initializeFromDataset

void initializeFromDataset(IRasterDataset pDataset)
                           throws IOException,
                                  AutomationException
Initializes this image server from a Raster Dataset.

Description

Initializes an ImageServer from a raster dataset.

Product Availability

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

Parameters:
pDataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initializeFromServiceURL

void initializeFromServiceURL(String serviceURL)
                              throws IOException,
                                     AutomationException
Initializes this image server from an AIS service URL (ImageService://:/).

Remarks

Initializes an ImageServer from an AIS service URL.

Product Availability

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

Parameters:
serviceURL - The serviceURL (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setImageDataSourceNameByRef

void setImageDataSourceNameByRef(IName ppName)
                                 throws IOException,
                                        AutomationException
The image server data source name.

Product Availability

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

Parameters:
ppName - A reference to a com.esri.arcgis.system.IName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getImageDataSourceName

IName getImageDataSourceName()
                             throws IOException,
                                    AutomationException
The image server data source name.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.