ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Reports Namespace / ReportSectionElement Class / SelectAllElements Method
Example

In This Topic
    SelectAllElements Method (ReportSectionElement)
    In This Topic
    Select all report elements in the report section.
    Syntax
    Public Overridable Sub SelectAllElements() 
    public virtual void SelectAllElements()
    Example
    Select all elements
    {
      //Select all elements in the Report Footer.
      ReportPageFooter pageFooterSection = report.Elements.OfType<ReportSection>().FirstOrDefault().Elements.OfType<ReportPageFooter>().FirstOrDefault();
      pageFooterSection.SelectAllElements();
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also