com.esri.arcgis.display
Interface ILayerVisible

All Superinterfaces:
Serializable
All Known Implementing Classes:
MultiLayerFillSymbol, MultiLayerLineSymbol, MultiLayerMarkerSymbol

public interface ILayerVisible
extends Serializable

Provides access to members that control the layer visibility.

Description

ILayerVisible is implemented by the multilayer symbol objects: MultiLayerFillSymbol, MultiLayerMarkerSymbol and MultiLayerLineSymbol.

Product Availability

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


Method Summary
 boolean isLayerVisible(int layerIndex)
          Indicates if the layer at the specified index is visible.
 void setAllVisible(boolean allVisible)
          Indicates if all the layers are visible or invisible.
 void setLayerVisible(int layerIndex, boolean visible)
          Indicates if the layer at the specified index is visible.
 

Method Detail

isLayerVisible

boolean isLayerVisible(int layerIndex)
                       throws IOException,
                              AutomationException
Indicates if the layer at the specified index is visible.

Product Availability

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

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

setLayerVisible

void setLayerVisible(int layerIndex,
                     boolean visible)
                     throws IOException,
                            AutomationException
Indicates if the layer at the specified index is visible.

Product Availability

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

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

setAllVisible

void setAllVisible(boolean allVisible)
                   throws IOException,
                          AutomationException
Indicates if all the layers are visible or invisible.

Description

SetAllVisible indicates whether all layers of a MultiLayerFillSymbol, MultiLayerMarkerSymbol or MultiLayerLineSymbol will be displayed when the symbol is rendered.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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