ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / RemoveOverlayControl Method
The control to remove.

In This Topic
    RemoveOverlayControl Method
    In This Topic
    Remove a control from over the view.
    Syntax
    public bool RemoveOverlayControl( 
       IMapViewOverlayControl overlayControl
    )
    Public Function RemoveOverlayControl( _
       ByVal overlayControl As IMapViewOverlayControl _
    ) As Boolean

    Parameters

    overlayControl
    The control to remove.

    Return Value

    True if the control was removed, false if the control was not found.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also