Participant
October 28, 2024
Answered
Spawning page in middle of PDF
- October 28, 2024
- 1 reply
- 1385 views
How do I spawn a page to appear in the middle of a pdf?
I found this Java code that spawns a page to the end of the file, while renaming all the fields.
var a = this.getTemplate("Template1"); //change your template name
a.spawn({nPage: this.numPages, bRename: true, bOverlay: false});
What do I need to change to spawn a page after page 5 the first time, and then each additional spawn will be added relative to the last page I inserted/spawned?
I am a beginner with Java.
