ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / Layout Class / SelectElement(Element) Method
The element to select. Cannot be null.

In This Topic
    SelectElement(Element) Method
    In This Topic
    Select the element within the page layout.
    Syntax
    public void SelectElement( 
       Element element
    )
    Public Sub SelectElement( _
       ByVal element As Element _
    ) 

    Parameters

    element
    The element to select. Cannot be null.
    Exceptions
    ExceptionDescription
    The value cannot be null: element
    element(s) must belong to layout 'URI'
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also