ArcGIS Pro 2.6 API Reference Guide
GetClipGeometry Method

ArcGIS.Desktop.Mapping Namespace > Map Class : GetClipGeometry Method
Get the current map clipping geometry. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public Polygon GetClipGeometry()
Public Function GetClipGeometry() As Polygon

Return Value

Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
If clipping is set to ArcGIS.Core.CIM.ClippingMode.None or ArcGIS.Core.CIM.ClippingMode.MapSeries null is returned
If clipping is set to ArcGIS.Core.CIM.ClippingMode.MapExtent the ArcGIS.Core.CIM.CIMMap.CustomFullExtent is returned.
Otherwise, if clipping is set to ArcGIS.Core.CIM.ClippingMode.CustomShape the custom clip polygon is returned.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Map Class
Map Members