This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapLayers2 Interface > IMapLayers2.IsLayerVisibleEx Method (ArcObjects .NET 10.5 SDK) |
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,
VARIANT_BOOL* IsLayerVisible,
VARIANT_BOOL* isParentLayerVisible
);
[C++]
Parameters Layer [in]
Layer is a parameter of type ILayer IsLayerVisible [out] IsLayerVisible is a parameter of type VARIANT_BOOL isParentLayerVisible [out] isParentLayerVisible is a parameter of type VARIANT_BOOL