![]() ![]() ![]() Here we insert the whole PDF into the output but at page 2. The append method can be thought of as a merge where the insertion point is the end of the file. If you want more fine grained control of merging there is a merge method of the PdfMerger, which allows you to specify an insertion point in the output file, meaning you can insert the pages anywhere in the file. You can pass file handles instead file paths if you want. You can simply concatenate files by using the append method.
0 Comments
Leave a Reply. |