ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / ExploratoryAnalysisOptions Class / SetLineOfSightOptionsAsync Method
The line of sight options
Version

SetLineOfSightOptionsAsync Method
Sets the line of sight options.
Syntax
public Task SetLineOfSightOptionsAsync( 
   LineOfSightOptions lineOfSightOptions
)

Parameters

lineOfSightOptions
The line of sight options
Exceptions
ExceptionDescription
lineOfSightOptions is null.
Line of sight options are not valid. See CanSetLineOfSightOptions for details on option settings.
Remarks
This method calls the CanSetLineOfSightOptions function prior to setting the option values. If the options are invalid, no updates are made.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.4 or higher.
See Also