ArcGIS Pro 2.7 API Reference Guide
LineOfSight Class
Members 

ArcGIS.Desktop.Mapping Namespace : LineOfSight Class
LineOfSight are used to conduct visibility analysis for direct lines from an observer point to one or more targets.

An observer and one or more targets are created with lines connecting the target(s) to the observer. The line segements and targets are painted using the Visible and NotVisible colors if they can be seen by the observer of if the view is obstructed.

Lines of sight can be used to model real-world objects like visibility to points of interest or rough approximations for projectile trajectories.

Object Model
LineOfSight ClassCamera ClassMapView Class
Syntax
public class LineOfSight : ExploratoryAnalysis 
Public Class LineOfSight 
   Inherits ExploratoryAnalysis
Inheritance Hierarchy

System.Object
   ArcGIS.Desktop.Mapping.ExploratoryAnalysis
      ArcGIS.Desktop.Mapping.LineOfSight

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

LineOfSight Members
ArcGIS.Desktop.Mapping Namespace