Pages can be inserted into the current PDF document using the insertBlankPages and insertPages functions. Inserting blank pages is fairly straight forward.
More likely someone will want to insert pages from one PDF into another. To achieve this, instantiate a new Document
object by passing the URL of the second PDF to createDocument function as a first parameter.
Currently there aren't any functions to duplicate pages in the current document directly. If you want to copy a page, you'll need to instantiate a new Document
object and load the same PDF into it using createDocument
and insert the page into the current document.
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales