ArcGIS Pro 3.7 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 Sub ClearClipGeometry() 
    public void 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
    {
        var mapWithClip = MapView.Active.Map;
        //Clear the Map clip.
        //If no clipping is set then this is a no-op.
        mapWithClip.ClearClipGeometry();
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also