ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / PresentationPage Class / SelectElements Method
The elements to be selected. If null then all elements are unselected.

In This Topic
    SelectElements Method (PresentationPage)
    In This Topic
    Set the selected elements for the presentation page.
    Syntax
    public void SelectElements( 
       IEnumerable<Element> elements
    )
    Public Sub SelectElements( _
       ByVal elements As IEnumerable(Of Element) _
    ) 

    Parameters

    elements
    The elements to be selected. If null then all elements are unselected.
    Exceptions
    ExceptionDescription
    elements must belong to a valid presentation page
    Remarks
    If a child of a group element is provided in the list of elements to be selected in addition to its parent then the parent is the element selected.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also