ArcGIS Pro 3.0 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, Windows 8.1

    See Also