ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LineOfSight Class
Properties Methods


In This Topic
    LineOfSight Class Members
    In This Topic

    The following tables list the members exposed by LineOfSight.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyIdentifier for the exploratory analysis object within its current MapView.

    The ID is only unique to the map view that it was added to. For this reason, the same instance should not be added to more than one MapView. Use the subclass's copy constructor for that.

    (Inherited from ArcGIS.Desktop.Mapping.ExploratoryAnalysis)
    Public Property The current MapView that this exploratory analysis object is in. (Inherited from ArcGIS.Desktop.Mapping.ExploratoryAnalysis)
    Public PropertyGets or sets the LineOfSight's maximum distance.

    Defines a far distance limit in meters. Any scene content closer than this value is disregarded.

     
    Public PropertyGets or sets the LineOfSight's minimum distance.

    Defines a near distance limit in meters. Any scene content closer than this value is disregarded.

     
    Public PropertyGets or sets the LineOfSight's targets list to update or query its target positions. Must be in the target map's ArcGIS.Core.Geometry.SpatialReference.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic) Get the color used to paint the line of sight lines for the segment and targets that are NOT visible to their corresponding observer. This affects all LineOfSight objects in the active MapView.  
    Public Method Get the LineOfSight's Observer to query its position.  
    Public Methodstatic (Shared in Visual Basic) Get the color used to paint the line of sight lines for the segment and targets that are outside of the minimum or maximum distance range to their corresponding observer. This affects all LineOfSight objects in the active MapView.  
    Public Methodstatic (Shared in Visual Basic) Get the color used to paint the line of sight lines for the segment and targets that are visible to their corresponding observer. This affects all LineOfSight objects in the active MapView.  
    Public Methodstatic (Shared in Visual Basic) Get the color used to paint the wireframe line that appears below elevated observers or targets. This affects all LineOfSight objects in the active MapView.  
    Public Methodstatic (Shared in Visual Basic) Change the color used to paint the line of sight lines for the segment and targets that are NOT visible to their corresponding observer. This affects all LineOfSight objects in the active MapView.  
    Public MethodSet the LineOfSight's Observer to update its position. Must be in the target map's ArcGIS.Core.Geometry.SpatialReference.  
    Public Methodstatic (Shared in Visual Basic) Change the color used to paint the line of sight lines for the segment and targets that are outside of the minimum or maximum distance range to their corresponding observer. This affects all LineOfSight objects in the active MapView.  
    Public Methodstatic (Shared in Visual Basic) Change the color used to paint the line of sight lines for the segment and targets that are visible to their corresponding observer. This affects all LineOfSight objects in the active MapView.  
    Public Methodstatic (Shared in Visual Basic) Change the color used to paint the wireframe line that appears below elevated observers or targets. This affects all LineOfSight objects in the active MapView.  
    Top
    See Also