How to reuse a page from one PDF document into another PDF document?

  • calvincastillo19845
    Asked on October 28, 2020 at 12:46 AM

    How can I create an element from an existing PDF, so that I can place it in my new PDF?I'm trying to add an image that I have on the file system as a PDF into a PDF that I'm creating on the fly. I tried to use the Image class, but it seems that it does not work with PDFs (only JPEG, PNG or GIF). How can I create an element from an existing PDF, so that I can place it in my new PDF? https://krogerfeedback.bid/

    PdfDocument pdfDoc = new PdfDocument(new PdfWriter(dest).setSmartMode(true));PdfDocument srcDoc = new PdfDocument(new PdfReader(src));srcDoc.copyPagesTo(1, srcDoc.getNumberOfPages(), pdfDoc);
  • jherwin
    Replied on October 28, 2020 at 4:57 AM

    Could you please explain your question in details?

    Are you working on a Jotform? It will help us provide you with the appropriate workaround/suggestions if you can elaborate further on what you wanted to do using the form.