Skip to main content

Export Report To PDF (Data Management Tools)

Summary

Exports an ArcGIS Pro report or a report file (.rptx) to a .pdf file.

Learn more about reports

Usage

  • If a query exists in the report or report file definition, additional expressions are appended to the existing query.

  • This tool supports page range settings to export certain pages in addition to the entire report.

  • This tool supports custom page numbering options to modify start and total page numbers.

Parameters

Label Explanation Data type

Input Report

The input report or .rptx file.

Report; File

PDF File

The output .pdf file.

File

Expression

(Optional)

A SQL expression that will be used to select a subset of records. This expression is applied in addition to any existing expressions.

SQL Expression

Resolution (DPI)

(Optional)

The resolution of the output .pdf file in dots per inch (dpi).

Long

Image Quality

(Optional)

Specifies the output image quality of the PDF. The image quality option controls the quality of exported rasterized data.

  • Best—The highest available image quality will be used. This is the default.

  • Better—High image quality will be used.

  • Normal—A compromise between image quality and speed will be used.

  • Faster—Lower image quality will be used to generate the report faster.

  • Fastest—The lowest image quality will be used to create the report the fastest.

String

Embed Fonts

(Optional)

Specifies whether fonts will be embedded in the output .pdf file. Font embedding allows text and markers built from font glyphs to be displayed correctly when the .pdf file is viewed on a computer that does not have the necessary fonts installed.

  • Checked—Fonts will be embedded in the output .pdf file. This is the default.

  • Unchecked—Fonts will not be embedded in the output .pdf file.

Boolean

Compress Vector Graphics

(Optional)

Specifies whether vector graphics will be compressed.

  • Checked—Vector graphics will be compressed. Use this option unless clear text is wanted for troubleshooting. This is the default.

  • Unchecked—Vector graphics will not be compressed.

Boolean

Image Compression

(Optional)

Specifies the compression scheme that will be used to compress image or raster data in the output .pdf file.

  • No image compression—Image or raster data will not be compressed.

  • Run-length encoded (RLE) compression—Image or raster data will be compressed using run-length encoded compression.

  • Deflate compression—Image or raster data will be compressed using deflate, a lossless data compression.

  • Lempel-Ziv-Welch (LZW) compression—Image or raster data will be compressed using Lempel-Ziv-Welch, a lossless data compression.

  • Joint Photographic Experts Group (JPEG) compression—Image or raster data will be compressed using JPEG, a lossy data compression.

  • Adaptive compression—Image or raster data will be compressed using adaptive compression, which will automatically select the best compression type for each image on the page. JPEG will be used for large images with many unique colors. Deflate will be used for all other images. This is the default.

String

Password Protect

(Optional)

Specifies whether a password will be needed to view the output .pdf file.

  • Checked—The output .pdf file will require a password to open.

  • Unchecked—The output .pdf file can be opened without providing a password. This is the default.

Boolean

PDF Password

(Optional)

The password that will be required to open the .pdf file.

Encrypted String

Page Range Type

(Optional)

Specifies the page range of the report that will exported.

  • All pages—All pages will be exported. This is the default.

  • Last page—Only the last page will be exported.

  • Odd numbered pages—Only the odd numbered pages will be exported.

  • Even numbered pages—Only the even numbered pages will be exported.

  • Custom page range—A custom page range will be exported using the Custom Page Range parameter value.

String

Custom Page Range

(Optional)

The pages that will be exported when the Page Range Type parameter is set to Custom page range. You can set individual pages, ranges, or a combination of both separated by commas, such as 1, 3-5, 10.

String

Initial Page Number

(Optional)

The initial page number that will be used to create a page numbering offset to add more pages to the beginning of the report.

Long

Final Page Number

(Optional)

The page number that will be displayed on the last page of the output .pdf file.

Long

Show Selection Symbology

(Optional)

Specifies whether selection symbology will be included when exporting a report with a map frame and selected features in the source map.

  • Checked—Selection symbology will be included in the output .pdf file. This is the default.

  • Unchecked—Selection symbology will not be included in the output .pdf file.

Boolean

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes