Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

js, how to get trim size of the pdf to be loaded to indesign

$
0
0

Hi,

 

I am loading multi page pdf into new indd file and I need to get trim size from the pdf.

 

From everything that I could find in OMV:

 

PDF.preferences

PDF.properties

PDF.visibleBounds

PDFAttribute.pdfCrop

PDFAttribute.properties

PDFCrop.CROP_TRIM

ImportedPage.pdfAttributes

 

I am not sure what to use. The closes one might be:

 

mySize = app.pdfPlacePreferences.pdfCrop.cropTrim.listBox.itemSize;

 

Which is not working.

 

 

Thank you for your help.

Yulia


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>