ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Reports Namespace / Report Class / GetElementsAsFlattenedList Method

In This Topic
    GetElementsAsFlattenedList Method (Report)
    In This Topic
    Get the collection of ArcGIS.Desktop.Layouts.Element from the report as a flattened list. Nested groups within ArcGIS.Desktop.Layouts.GroupElement are not preserved.
    Syntax
    public IReadOnlyList<Element> GetElementsAsFlattenedList()
    Public Function GetElementsAsFlattenedList() As IReadOnlyList(Of Element)

    Return Value

    A readonly list of the report elements.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also