Am 15.09.2019 um 07:53 schrieb Martin:
when I paint an image on a pdfpage where a image already exists in the template pdf the image from the template get’s invisible
after reading this sentence again I think I understand the problem - you wanted to keep what existed before. Please change this
PDPageContentStream contents = new PDPageContentStream(doc, page); to this PDPageContentStream contents = new PDPageContentStream(doc, page, AppendMode.APPEND, true, true); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

