Export singel pages to PDF
Hi,
I am trying to export singel page PDFs from an Indesign document but no matter what settings I use the result is a spread and always viewed in Acrobat.
This is my code so far:
app.pdfExportPreferences.exportReaderSpreads = false
app.pdfExportPreferences.pageRange = '4';
app.pdfExportPreferences.viewPDF = false;
curDoc.exportFile(1952409936, myPDFFile, false, myPDFPreset);
I guess I should set either ExportRangeOrAllPages.EXPORT_RANGE or PageRangeFormat.EXPORT_PAGE_RANGE but they are not part of pdfExportPreferences and I can't figure out where to set them.
InDesign CC2017
Thanks!