Indicates if the layer at the specified index is visible.
[Visual Basic .NET] Public Function get_LayerVisible ( _ ByVal layerIndex As Integer _ ) As Boolean
[Visual Basic .NET] Public Sub set_LayerVisible ( _ ByVal layerIndex As Integer, _ ByVal visible As Boolean _ )
[C#] public bool get_LayerVisible ( int layerIndex );
[C#] public void set_LayerVisible ( int layerIndex, bool visible );
[C++]
HRESULT get_LayerVisible(
long layerIndex,
VARIANT_BOOL* visible
);
[C++]
HRESULT put_LayerVisible(
long layerIndex,
VARIANT_BOOL visible
);
[C++]Parameters
layerIndex [in] layerIndex is a parameter of type long visible [out, retval] visible is a parameter of type VARIANT_BOOL layerIndex [in] layerIndex is a parameter of type long visible [in] visible is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
LayerVisible indicates whether a specefic layer of a MultiLayerFillSymbol, MultiLayerMarkerSymbol or MultiLayerLineSymbol will be displayed when the symbol is rendered.