com.esri.arcgis.carto
Interface IWMSLayer2

All Superinterfaces:
Serializable
All Known Implementing Classes:
IWMSLayer2Proxy, WMSLayer

public interface IWMSLayer2
extends Serializable

Provides access to members that control the WMS sub layer.

Description

This interface is new at ArcGIS 9.3. It supersedes IWMSLayer.

Product Availability

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


Method Summary
 IWMSLayerStyleDescription getStyle()
          Active style that will be used for drawing.
 IWMSLayerDescription getWMSLayerDescription()
          Associated WMSLayerDescription.
 IWMSServiceDescription getWMSServiceDescription()
          Associated WMSServiceDescription.
 void setStyleByRef(IWMSLayerStyleDescription style)
          Active style that will be used for drawing.
 

Method Detail

getWMSLayerDescription

IWMSLayerDescription getWMSLayerDescription()
                                            throws IOException,
                                                   AutomationException
Associated WMSLayerDescription.

Product Availability

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

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

getWMSServiceDescription

IWMSServiceDescription getWMSServiceDescription()
                                                throws IOException,
                                                       AutomationException
Associated WMSServiceDescription.

Product Availability

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

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

setStyleByRef

void setStyleByRef(IWMSLayerStyleDescription style)
                   throws IOException,
                          AutomationException
Active style that will be used for drawing.

Product Availability

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

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

getStyle

IWMSLayerStyleDescription getStyle()
                                   throws IOException,
                                          AutomationException
Active style that will be used for drawing.

Product Availability

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

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