Print Page | Close Window

ReplaceTag() not replacing anything?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1324
Printed Date: 04 Apr 26 at 6:30PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: ReplaceTag() not replacing anything?
Posted By: stakon
Subject: ReplaceTag() not replacing anything?
Date 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.



Replies:
Posted By: Ingo
Date 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


Posted By: stakon
Date 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"




Posted By: Ingo
Date 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


Posted By: stakon
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk