ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / Layout Class / ClearElementSelection Method
Example

In This Topic
    ClearElementSelection Method (Layout)
    In This Topic
    Clear all selected elements in the page layout.
    Syntax
    public void ClearElementSelection()
    Public Sub ClearElementSelection() 
    Example
    Clear the selection in a layout
    //Clear the layout selection.
    layout.ClearElementSelection();
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also