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!
Replacing Text in a PDF |
Post Reply |
Author | |
PhilG
Beginner Joined: 02 Nov 05 Location: United States Status: Offline Points: 10 |
Post Options
Thanks(0)
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
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store