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 - ReplaceTag() not replacing anything?
  FAQ FAQ  Forum Search   Register Register  Login Login

ReplaceTag() not replacing anything?

 Post Reply Post Reply
Author
Message
stakon View Drop Down
Team Player
Team Player


Joined: 09 Oct 09
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote stakon Quote  Post ReplyReply Direct Link To This Post Topic: ReplaceTag() not replacing anything?
    Posted: 27 Jan 10 at 10:45AM
Good day,

I have used the ReplaceTag() function several times but only with PDF documents created with QuickPDF.
I tried to use it in several other PDF documents  without success... Is this the case or i am missing something.

***Bonus question***
When using ReplaceTag() , is there a way to preserve the alignment of the text replaced? Probably the answer is no, but i just thought i'd ask :p

Thanx in advance,
stakon.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 27 Jan 10 at 1:13PM
Hi!

Perhaps this has to do with encryption?
What about the returning value? Is it zero or what?

Cheers, Ingo
Back to Top
stakon View Drop Down
Team Player
Team Player


Joined: 09 Oct 09
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote stakon Quote  Post ReplyReply Direct Link To This Post Posted: 27 Jan 10 at 1:53PM
Hi Ingo!

The files i tried were not encrypted.
Also the function returned 0, which is "the number of times the text was replaced"


Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 27 Jan 10 at 9:00PM
...so the things you wanna replace aren't real "tags"?
I didn't know this function before your post but i can't imagine that it's for replacing textcontent.
If so it would be wonderful ;-)

Cheers, Ingo
Back to Top
stakon View Drop Down
Team Player
Team Player


Joined: 09 Oct 09
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote stakon Quote  Post ReplyReply Direct Link To This Post Posted: 28 Jan 10 at 8:54AM

Well actually it DOES replace text and it is pretty convenient.
But unfortunately it works only in documents created using QPDF.
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