-
Thanks for this awesome library. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This is a typical Discussions post. To your question: There is no way to do it otherwise. Any other solution would require to recreate the PDF. PDF is not Word. |
Beta Was this translation helpful? Give feedback.
This is a typical Discussions post.
To your question:
There is no way to do it otherwise. Any other solution would require to recreate the PDF. PDF is not Word.
Other elements (text, images, graphics) on the page stay where they are and cannot be changed.
What is more, the emptied space of removed text cannot be resized in any way. New text must fit exactly - and quite some effort is needed to fit replacement text exactly - in terms of font selection, font size, color and insertion point.
Even if all that is done perfectly, the new text is physically appended to the page's appearance source code (no "new layer") and will therefore be read at last - if using plain / naive text extraction.
…