ArcGIS Pro 2.8 API Reference Guide
SelectElement(Element) Method

ArcGIS.Desktop.Layouts Namespace > Layout Class : SelectElement(Element) Method
The element to select. Cannot be null.
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 10, Windows 8.1

See Also

Reference

Layout Class
Layout Members