com.esri.arcgis.carto
Interface IMapServerRESTLayer

All Superinterfaces:
Serializable
All Known Implementing Classes:
MapServerRESTLayer

public interface IMapServerRESTLayer
extends Serializable

Provides access to the available properties of a map server rest layer object.

Product Availability

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


Method Summary
 void connect(String restUrl)
          Connects to a MapService using a REST URL.
 void getTransparentBackground(boolean[] transparentBackground)
          Whether to render the MapService with a transparent background.
 

Method Detail

connect

void connect(String restUrl)
             throws IOException,
                    AutomationException
Connects to a MapService using a REST URL.

Product Availability

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

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

getTransparentBackground

void getTransparentBackground(boolean[] transparentBackground)
                              throws IOException,
                                     AutomationException
Whether to render the MapService with a transparent background.

Product Availability

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

Parameters:
transparentBackground - The transparentBackground (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.