3 Replies Latest reply on Nov 19, 2014 1:46 AM by TᴀW

    can't export Interactive pdf via javascript

    yehuacccc

      Hi we are generating PDF with url link in it, so we want to use Interactive PDF type to export our PDF via javascript, however, when we are using below exportfile function, it throws error:

       

      DOC.exportFile(ExportFormat.INTERACTIVE_PDF, File(pdfFile));

      Console output: Result: Script Exception :Object does not support the property or method 'INTERACTIVE_PDF'

       

      we are using CS5.5 (7.5) and it works when we change ExportFormat to:

       

      DOC.exportFile(ExportFormat.pdfType, File(pdfFile));

       

      Please help.thank you.