pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Add Text To A PDF Document
Date Thu, 17 May 2018 03:41:35 GMT
Am 17.05.2018 um 00:44 schrieb A Brand:
> I'd like to add text to an existing pdf document. I attempted it and the
> current page was erased and replaced with the text I wanted to add.

You probably used the overwrite option or no option instead of using the 
append option when creating your PDPageContentStream.

If it still doesn't work, please show your code and mention the version 
you are using (hopefully 2.0.9).

> I tried using the Overlay() and didn't see the text added.
> Is this a feature of pdfbox?

Yes it is!


> Onward.
> Don't Be Good. Be Great. Be Grateful.
> Please note this message was edited for brevity and clarity.
> Best regards,
> Anthony McDonald
> *602-456-9335*
> http://www.idnkhtw.space

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

View raw message