ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Map Class / ClearClipGeometry Method
Example

In This Topic
    ClearClipGeometry Method
    In This Topic
    Clear the current map clip geometry. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void ClearClipGeometry()
    Public Sub ClearClipGeometry() 
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    If no clipping is set then this is a no-op.
    Example
    Clear the current map clip geometry
    //Run within QueuedTask
    var map = MapView.Active.Map;
    //Clear the Map clip.
    //If no clipping is set then this is a no-op.
    map.ClearClipGeometry();
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also