ArcGIS Pro 2.7 API Reference Guide
IsVisibleInView(MapView) Method

ArcGIS.Desktop.Mapping Namespace > Layer Class : IsVisibleInView(MapView) Method
The mapview against which the layer visibility is checked
Determines whether the layer is visible in the given map view
Syntax
public bool IsVisibleInView( 
   MapView mapView
)
Public Function IsVisibleInView( _
   ByVal mapView As MapView _
) As Boolean

Parameters

mapView
The mapview against which the layer visibility is checked

Return Value

Remarks
If the mapView is null the value of layer.IsVisible is returned.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Layer Class
Layer Members