Select to view content in your preferred language

arcpy function to Clip Output to Graphics Extent

1431
1
11-21-2010 08:25 PM
Status: Already Offered
Labels (1)
JaneWickers
Deactivated User

From the Layout view in ArcMap, there is an option when exporting a map to Clip Output to Graphics Extent.

 

I want like to be able to incorporate this in my Python script.

 

Jane

1 Comment
JeffBarrette
Status changed to: Already Offered

This is a very old idea and is available in both ArcMap and Pro. 

ArcMap and Pro, the older style ExportToXXX methods have a property called {clip_to_elements}

For example, the Layout class: Layout—ArcGIS Pro | Documentation

In Pro we have a newer style export format objects, and a similar property called clipToElements is available to the export format when exporting a layout.

For example, PDFFormat: PDFFormat—ArcGIS Pro | Documentation

 

Jeff - arcpy.mp team