This document is archived and information here might be outdated.  Recommended version.


IMapLayers2.IsLayerVisibleEx Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IMapLayers2.IsLayerVisibleEx Method

Check if layer is visible.

[Visual Basic .NET]
Public Sub IsLayerVisibleEx ( _
    ByVal Layer As ILayer, _
    ByRef IsLayerVisible As Boolean, _
    ByRef isParentLayerVisible As Boolean _
)
[C#]
public void IsLayerVisibleEx (
    ILayer Layer,
    ref bool IsLayerVisible,
    ref bool isParentLayerVisible
);
[C++]
HRESULT IsLayerVisibleEx(
  ILayer* Layer,
  Boolean* IsLayerVisible,
  Boolean* isParentLayerVisible
);
[C++]

Parameters Layer [in]
Layer is a parameter of type ILayer* IsLayerVisible [out]
IsLayerVisible is a parameter of type bool* isParentLayerVisible [out]
isParentLayerVisible is a parameter of type bool*

Product Availability

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

See Also

IMapLayers2 Interface