ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Map Class / TargetGraphicsLayer Property

In This Topic
    TargetGraphicsLayer Property
    In This Topic
    Gets or sets the graphics layer that acts as a target for interactive drawing tools.
    Syntax
    public GraphicsLayer TargetGraphicsLayer {get; set;}
    Public Property TargetGraphicsLayer As GraphicsLayer
    Remarks
    This is an in-memory setting; it's not saved in the project. It can become null if all graphics layers are removed, but it cannot be cleared.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also