Thx, that did the job! 

Am 15.09.19, 10:39 schrieb "Tilman Hausherr" <thaush...@t-online.de>:

    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: users-unsubscr...@pdfbox.apache.org
    For additional commands, e-mail: users-h...@pdfbox.apache.org
    
    



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to