Is is possible to insert a pdf at a position within a document. For example, I’d like to add title line to a pdf and then insert a separate pdf directly below that title line.
Some Title for a PDF - By Dave
insert external pdf here…
You can place a PDF file on another PDF using Aspose.Pdf.Kit for Java. It doesn’t insert the PDF at a particular location, however if you adjust the contents of the both PDF files, you can make it work for your scenario. For example, if you have some contents in the first half of the page of the first PDF and some other contents on the second half of the page of second PDF then once you stamp the second PDF on the first one, they’ll look like a single page.
Here is the code snippet:
//add file stamp
PdfFileStamp fileStamp = new PdfFileStamp(inFile, outFile);
Stamp pdfFileStamp = new Stamp();
pdfFileStamp.bindPdf(path + “Online.pdf”, 1);
Are you looking something similar as shared above or you have some different requirement?
Sounds good, thanks!