AnsweredAssumed Answered

ArcPy ExportToPDF Parameter Values Missing

Question asked by geonetadmin on Oct 14, 2010
Latest reply on Oct 15, 2010 by geonetadmin
Original User: farsterbj

I am using ExportToPDF in a Python script.  With none of the optional parameters set, the export works great.  Now I want to define some parameters to tweak the PDF file size and such.

I am finding that some of the values for the 'image_compression' parameter are not available; namely JPEG and ADAPTIVE.  These parameter values are not available in the Python Window in ArcGIS, and if defined in a Python script, throw errors when the script is run.

I have attached a screenshot showing the available values for the 'image_compression' parameter in the Python Window in ArcGIS.  Also, note in the attached screenshot that the 'jpeg_compression_quality' parameter is not even an option.

Can anybody shed light on why these parameters are in the documentation but are not accessible from the Python Window or when running a Python script?

Thanks in advance,