Hi,
I'm trying to export a map book with data driven pages, with multiple data frames. I am using the UI to export. I can't seem to get the JPEG_COMPRESSION_QUALITY string to work in my script
I have:
mxd = arcpy.mapping.MapDocument("CURRENT")
ddp = mxd.dataDrivenPages
ddp.exportToPDF(r"C:\Desktop\test.pdf", resolution = 150, jpeg_compression_quality = 75)
I get this error:
Runtime error <type 'exceptions.TypeError'>: exportToPDF() got an unexpected keyword argument 'jpeg_compression_quality
I'm not sure what is wrong.
- E. Ng