Print Page | Close Window

ClearTextFormatting not working

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=4022
Printed Date: 18 May 24 at 1:24PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: ClearTextFormatting not working
Posted By: sko
Subject: ClearTextFormatting not working
Date Posted: 18 Aug 23 at 9:47AM
Hi,

i try
    PDF.LoadFromFile(pdffilename, '');
    PDF.ClearTextFormatting;
    PDF.SaveToFile(newpdffilename, '');

but all bold fileds are the same as in original !

What is wrong?

Ciao
Stefan



Replies:
Posted By: tfrost
Date Posted: 18 Aug 23 at 2:33PM
My reading of the function description in the manual tells me that this function only clears attributes that have already been applied while writing text earlier onto a page, so that the subsequent text written has no text attributes  I have never needed to use this function in my work, but I would expect it not to affect any text already in the PDF, as you have confirmed.  


Posted By: Ingo
Date Posted: 20 Aug 23 at 1:30PM
I agree with Tim.
There are some other functions in the library as well...
only working on changes made on the fly.



-------------
Cheers,
Ingo




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