Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Replacing Text in a PDF
  FAQ FAQ  Forum Search   Register Register  Login Login

Replacing Text in a PDF

 Post Reply Post Reply
Author
Message
PhilG View Drop Down
Beginner
Beginner
Avatar

Joined: 02 Nov 05
Location: United States
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote PhilG Quote  Post ReplyReply Direct Link To This Post Topic: Replacing Text in a PDF
    Posted: 11 Mar 07 at 10:46PM
Hello,
 
Does anyone know if it's possible to directly replace text in a PDF?  Looking at the help file, ReplaceTag certainly looks promising; but when I use it, however nothing happens.  The following code
 
QP.SelectPage 1
QP.ReplaceTag "Original text>", "<New text>"
 
is ineffectual and the only way I have at the moment of replacing text is to draw a white box that covers up the existing text and then draw new text on top of that.
 
Is there a trick to getting ReplaceTag to work, or does it perhaps not apply to all text in the PDF?  If the latter is true, they is it possible to directly replace text in a PDF?
 
Thanks.
 
PhilG


Edited by PhilG - 11 Mar 07 at 10:49PM
PhilG
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 12 Mar 07 at 1:51AM
Hi Phil!

Few weeks ago i've mailed with Uli in this case...
Replacing text in a pdf-document isn't easy. You need much functionality from a pdf-reader. It's not only replace... it's unencrypt... again encrypt... text can be in objects and not between the "normal" text-tags... There are many things you have to keep in mind when replacing.

For my understanding it's ReplaceTag and not ReplaceText ;-)
ReplaceTag can replace the tag of beginning textcontent  or other objects inside a pdf-document.

Best regards,
Ingo

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store