Thx, that did the job! 

Am 15.09.19, 10:39 schrieb "Tilman Hausherr" <[email protected]>:

    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]
    
    



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to