Check if layer is visible.
[Visual Basic 6.0] Function IsLayerVisible(
ByVal Layer As ILayer _
) As Boolean
[Visual Basic .NET] Public Function IsLayerVisible ( _ ByVal Layer As ILayer _ ) As Boolean
[C#] public bool IsLayerVisible ( ILayer Layer );
[Java] public Boolean isLayerVisible ( ILayer Layer ) throws IOException, AutomationException
[C++] HRESULT IsLayerVisible( ILayer* Layer, VARIANT_BOOL* IsLayerVisible );
Parameters
Layer [in]
Layer is a parameter of type ILayer
IsLayerVisible [out, retval]
IsLayerVisible is a parameter of type VARIANT_BOOL
This method determines if a layer is actually visible in a map. It does this by checking to see if the layer is not drawn due to scale ranges and also by validating whether or not the layer is in a composite layer or group layer that is not visible.