Move all pages of one document to another.
Hi all,
Using javascript I tried to move all pages from a document to another, I found method name move
//~ var sourcePages = source_doc.pages.itemByRange(myDocFirstPage, myDocLastPage);
var sourcePages = source_doc.pages.everyItem();
sourcePages.move(LocationOptions.AFTER, destination_doc.pages.item(-1));
Error:
But I want to know how to use all pages method as per below snapshot.
I want to move all pages without deleting.
Thanks & Regards
Sunil Y.