By Errong Leng in HowTos — Apr 18, 2023 How to combine|merge multiple PDF files into a single file via itext pdf java lib? Photo by Dessy Dimcheva / Unsplash Here you go, the gist code sample using itext 5.How to merge documents correctly?Is there some way to detect the page size and then use that same page size for those documents? Or, if not, is it possible to have it fit to page?I would like to add a link to an existing pdf that jumps to a coordinate on another page.I have the following problem when printing the PDF file after miText Knowledge BaseitextpdfPDF MergerMerge PDFs with iText’s free online app and sandbox.iText pdfiText PDF