I'm trying to export all the individual groups of a Page to individual PDF's. So far I've only managed to print out all the groups on the page to a single pdf.
Here's my code:
//A4 -sized Page has 3 individual groups var grp = app.activeDocument.groups.item(0); grp.exportFile(ExportFormat.pdfType, (new File("group.pdf")), false, app.pdfExportPresets); //Result: group.pdf is a A4 sized document with all the 3 groups on it. //Same result with grp = app.activeDocument.groups.item(1) etc...
What I need is 3 pdf's, all in different sizes and each containing only one group. Is this possible?
Export to PDF works with entire pages only.
Ok, thanks for the info. I started doing it so that you copy the group, create a new document with the groups size, place the group there and export that. Seems to be working.