Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

Replacing Text in PDF

Question

In another article is mentioned that at the moment QuickPDF does not support the replacement of text in a given PDF-file. The function ReplaceTag function however indicates exactly this feature, allthough it doesn't work for me so far. If I change a textstring with ReplaceTag and extract the text with GetPageText the text is still the same.

Answer

The way the ReplaceTag function works is described in this FAQ: How does the ReplaceTag function work?

Basically, it is possible to replace some text in a PDF file if the text is not encoded. Quick PDF Library can create PDFs without encoded text, so it's possible to use the ReplaceTag function with some PDFs that were created using our PDF SDK.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum