A project can contain multiple rerports. A report view is a pane that displays the view of a report. Report views are the primary interface used to display, navigate, and select report elements. The report being visualized in the view can be accessed via the Report property.
There can be multiple report views open at a given time, but there can only be one active report view. The active report view will set the context for the ribbon and many of the dock panes in the application. The Active property will return null if there is no active report view.
The report view has several "ZoomTo" nagivation methods and it also provides the context for managing selected items in the Contents pane. For example, the GetSelectedElements method returns a collection of selected page report elements.
//Confirm if the current, active view is a report view. If it is, do something. ReportView activeReportView = ReportView.Active; if (activeReportView != null) { // do something }
System.Object
ArcGIS.Desktop.Reports.ReportView
Target Platforms: Windows 11, Windows 10