ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutView Class / ActiveMapFrame Property

In This Topic
    ActiveMapFrame Property
    In This Topic
    Gets the active map frame on a layout.
    Syntax
    public MapFrame ActiveMapFrame {get;}
    Public ReadOnly Property ActiveMapFrame As MapFrame
    Remarks
    Returns null if there is no active map frame. If there are multiple map frames in a layout, the active map frame is the one that is bolded in the contents pane.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also