2 Replies Latest reply on Feb 5, 2013 12:17 AM by kimDino8

    Crop Artboard range when PDF export...

    kimDino8

      I Know 'artBoardClipping' keyword when export to JPEG, GIF, ...

       

       

      But, Does not exist when PDF export.

       

       

      1. open ai file

      2. export to PDF

      3. export success

      4. open PDF file. ('hmm. crop success?')

      5. open PDF file in Illustrator cs3 ('OMG. red and yellow rectangle ALIVE')

       

      I want remove red and yellow rectangles.

       

      my source code is below.

       

      function saveFileToPDF (dest) {
                var doc = app.activeDocument;
                if ( app.documents.length > 0 ) {
                          var saveName = new File ( dest );
                          saveOpts = new PDFSaveOptions();
                          saveOpts.compatibility = PDFCompatibility.ACROBAT5;
                          saveOpts.generateThumbnails = true;
                          saveOpts.preserveEditability = true;
                          doc.saveAs( saveName, saveOpts );
                }
      }
      

       

       

       

       

       

      crop.jpg