4 Replies Latest reply on Dec 29, 2014 10:50 AM by Yuliascript

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

    Yuliascript Level 1

      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