Splitting and merging documents
In this section, you will learn how to manipulate PDF files by means of splitting an existing file into multiple files and merging multiple files into a single PDF document. The walk-through will use the Chapter14_Games.pdf
file, which is part of the GitHub repository.
Splitting a PDF file
The Chapter14_Games.pdf
sample file that we will use is an eight-page document summarizing the contents of a book about retro arcade games. For this walk-through, the bot is tasked with splitting this document into eight separate PDF files, each file consisting of one page. Like always, let's begin by adding our comments:
- Add a new Comment action just below line 5,
"------- Split File"
, and click on Save. - To split the PDF file, add the PDF: Split document action just below line 6 so that you can start to set the properties.
- Firstly, we need to specify the PDF file that will be used. To do this, set the following property for the...