ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / PresentationPage Class / UnSelectElements Method
The selected elements to unselect. If null then all elements are unselected.

In This Topic
    UnSelectElements Method (PresentationPage)
    In This Topic
    Unselect the elements on the presentation page.
    Syntax
    Public Sub UnSelectElements( _
       Optional ByVal elements As IEnumerable(Of Element) _
    ) 
    public void UnSelectElements( 
       IEnumerable<Element> elements
    )

    Parameters

    elements
    The selected elements to unselect. 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 unselected in addition to its parent then the parent is the element unselected.
    Requirements

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

    ArcGIS Pro version: 3.5 or higher.
    See Also