com.esri.arcgis.carto
Interface IServiceLayerImageFormat

All Superinterfaces:
Serializable
All Known Implementing Classes:
IMSMapLayer, MapServerLayer, WMSMapLayer

public interface IServiceLayerImageFormat
extends Serializable

Provides access to members that control the image format set of service layers.

Product Availability

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


Method Summary
 int getRequestedImageType()
          The image type requested.
 int getSupportedImageFormat(int index)
          The individual output image format supported by Server.
 int getSupportedImageFormatCount()
          The number of output image format supported by Server.
 void setRequestedImageType(int requestedImageFormat)
          The image type requested.
 

Method Detail

getSupportedImageFormatCount

int getSupportedImageFormatCount()
                                 throws IOException,
                                        AutomationException
The number of output image format supported by Server.

Product Availability

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

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSupportedImageFormat

int getSupportedImageFormat(int index)
                            throws IOException,
                                   AutomationException
The individual output image format supported by Server.

Product Availability

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

Parameters:
index - The index (in)
Returns:
A com.esri.arcgis.carto.esriImageFormat constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRequestedImageType

int getRequestedImageType()
                          throws IOException,
                                 AutomationException
The image type requested.

Product Availability

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

Returns:
A com.esri.arcgis.carto.esriImageFormat constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRequestedImageType

void setRequestedImageType(int requestedImageFormat)
                           throws IOException,
                                  AutomationException
The image type requested.

Product Availability

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

Parameters:
requestedImageFormat - A com.esri.arcgis.carto.esriImageFormat constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.