laptop and a wrench

漏洞

Exporting a layout to PDF results in a blank map with only text boxes and layout elements appearing in the exported file.

ArcGIS Pro
漏洞 ID 编号 BUG-000173281
已提交December 26, 2024
上次修改时间April 14, 2025
适用范围ArcGIS Pro
找到的版本3.4
操作系统Windows
操作系统版本N/A
状态Duplicate

附加信息

Duplicate of BUG-000173232.

解决办法

  • Save the layout as a layout file, then import the saved layout file into a new project or a different existing project.
  • Export using the arcpy.mp functions, which generates a successful export; example code: "##Export to PDF import time aprx = arcpy.mp.ArcGISProject("CURRENT") aprx.listLayouts() for lyt in aprx.listLayouts(): #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" start = time.time() lyt.exportToPDF(f"C:\Temp\{lyt.name}.pdf", 150, "BEST", True, "ADAPTIVE", True, "LAYERS_ONLY", True, 80, False, False, False) end = time.time() print(f"{lyt.name} exported in {end - start} seconds") print("Done")".

重现步骤

漏洞 ID: BUG-000173281

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项