Copy link to clipboard
Copied
Hi,
I have two files. One original and second modified. And I have list of pages for replace.
So I want replace few pages (from the list) from modified pdf to original pdf.
is there any API or list of functions for use with PAGE management with javascript?
Or what do you sugest?
1 Correct answer
You can use the Javascript method replacesPages.
Copy link to clipboard
Copied
You can use the Javascript method replacesPages.
Copy link to clipboard
Copied
Thank you,
and where is the documentation of this method?
Copy link to clipboard
Copied
In the Acrobat Javascript Reference.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
OK thanks
and do you have som softver for developing?
Where you can write and test code?
Copy link to clipboard
Copied
The JS Console is the best place for that. See: https://acrobatusers.com/tutorials/javascript_console

