ArcGIS Pro 2.9 API Reference Guide
GetElementsAsFlattenedList Method (GraphicElementContainer)

ArcGIS.Desktop.Layouts Namespace > GraphicElementContainer Class : GetElementsAsFlattenedList Method
Get the collection of elements. Nested groups are not preserved.
Syntax
public IReadOnlyList<Element> GetElementsAsFlattenedList()
Public Function GetElementsAsFlattenedList() As IReadOnlyList(Of Element)

Return Value

Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

GraphicElementContainer Class
GraphicElementContainer Members