漏洞
| 漏洞 ID 编号 | BUG-000173751 |
|---|---|
| 已提交 | January 22, 2025 |
| 上次修改时间 | February 3, 2025 |
| 适用范围 | ArcGIS Pro |
| 找到的版本 | 3.4 |
| 操作系统 | Windows OS |
| 操作系统版本 | 10.0 64 Bit |
| 状态 | Duplicate |
The map frames are visible when exporting the layout through the Python window. Use this script to do so: "##Export to PDF aprx = arcpy.mp.ArcGISProject("CURRENT") aprx.listLayouts() for lyt in aprx.listLayouts(): #**** ENTER THE LAYOUT NAME YOU WANT TO EXPORT INTO THE BRACKETS i.e. for lyt in aprx.listLayouts("Layout Name"): #Parameters: output name, resolution, image quality, compress vector graphics, image compression, embed fonts, layer attributes, georeference, jpeg compression, clip to elements, output as image, embed color profile #Image quality: "BEST", "BETTER", "NORMAL", "FASTER", "FASTEST" #Image compression: "ADAPTIVE", "DEFLATE", "JPEG", "LZW", "NONE", "RLE" #Layer attributes: "LAYERS_ONLY", "LAYERS_AND_ATTRIBUTES", "NONE" lyt.exportToPDF(f"C:\Temp\{lyt.name}.pdf", 150, "NORMAL", True, "ADAPTIVE", True, "LAYERS_ONLY", True, 80, False, False, False) print("Done")".
漏洞 ID: BUG-000173751
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序