You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Dylan <qz...@gmail.com> on 2022/07/18 16:21:45 UTC

pdfbox problem

Thank you for your help! It work good with this code, but i want to know
this code is what you said about ' You can reuse the existing page' and how
to improve this code that reduce waste of resources.Thx!😁
[image: image.png]

Re: pdfbox problem

Posted by Tilman Hausherr <TH...@t-online.de>.
If you add the page a second time then you'd have two pages. You can add 
stuff to the existing page, i.e. to the content stream. Or you can 
append an extra content stream. IMHO the two top code lines (after the 
comment) below the top red line are not needed.

Your image didn't get through, only real inline images get through 
(thunderbird). It's better to post text.

Tilman

Am 18.07.2022 um 18:21 schrieb Dylan:
> Thank you for your help! It work good with this code, but i want to 
> know this code is what you said about ' You can reuse the existing 
> page' and how to improve this code that reduce waste of resources.Thx!😁
> image.png