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!
replacetag |
Post Reply |
Author | |
mandriospo
Beginner Joined: 16 Dec 21 Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 17 Apr 23 at 11:27AM |
I am looking for a way to replace text in my pdf file which was not created by quick pdf library.
I tried ReplaceTag function but it works with weird way. When I run code: $oQP.ReplaceTag('Z!CD!', ' ') then text 'MARTA" will be changed to space Z stansd for M ! stands for A C stands for T Now when I use this code: $oQP.GetPageText(3) then I can see 'MARTA' text normally I also tried: $oQP.ReplaceTag('Z!CD!', 'MARTA') and now instead of 'MARTA' text I see '1EB7E' text Is it something about encoding?
Edited by mandriospo - 17 Apr 23 at 11:35AM |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
The text content CAN be visible but it's not a must - there are several technics to integrate text.
|
|
Cheers,
Ingo |
|
mandriospo
Beginner Joined: 16 Dec 21 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
I mean I can replace text on my pdf but A letter does not match A. Why is that?
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
What you see and how it's embedded into the content is different.
Here you can read about the file type pdf in common and how information is integrated in a pdf-file: https://en.wikipedia.org/wiki/PDF Regarding strings inside of pdf content you can read this:
|
|
Cheers,
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