Print Page | Close Window


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
Printed Date: 01 Apr 20 at 5:13AM
Software Version: Web Wiz Forums 11.01 -

Topic: GetPageText
Posted By: eranhadad
Subject: GetPageText
Date Posted: 12 Feb 20 at 7:11AM
Hey, Smile

After using GetPageText with 3 paramter (to get CSV) , I get this result - 


Is there any way to remove the Bold attribute from the PDF ? 
Any function to remove any BOLD|ITALIC|UNDER-LINE from this specific chars ?

I ask this question because I create object with this properties split by comma.

Eran Hadad

Posted By: eranhadad
Date Posted: 12 Feb 20 at 3:09PM
I found a solution that helps me to indicate the "Placeholders" above by using 

is there any way to get TextColor using Block's function ?
If needed , I can upload my code

Posted By: Ingo
Date Posted: 12 Feb 20 at 6:11PM
Hi Eran,

if you need additional functionality your search should start from here:
The results will come from the kb, the online reference or the forum-threads...

The other point:
It's not possible to remove any font style attributes which are already in the pdf.
What you can try is to extract the naked text and compose a new pdf-page using the coordinates from the extraction.

One important hint from me:
You've written DAGetTextBlockText and GetTextBlockFontSize...
Using functions like described together won't work proper.
NEVER mix DA- with NonDA-functionalities - There are different technics behind the scenes which will make you stumbeling... ;-)

Cheers and welcome here,


Posted By: eranhadad
Date Posted: 22 Feb 20 at 2:11PM
Thanks Smile 
You wrote that there is a way of extract naked text from PDF file.
How ?

Posted By: eranhadad
Date Posted: 23 Feb 20 at 6:51AM
In Addition what is the expcepted result from GetTextBlockColor function when the text color is WHITE?

[I dont understand what's the Color Component  parameter for this function and what is the result?]

Posted By: Ingo
Date Posted: 23 Feb 20 at 2:05PM

i think reading the reference should make it clear?
You put in for example 1 (for the read value) and you'll get back a float value between 0,0... and 1,0.
A value of 1,0 ist identical to the max value 255 which you know from rgb-color-value:

To your text extraction question:
There are different and well described options what type of extraction and results are possible.
I think for your question option 8 should be the best:


Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 -
Copyright ©2001-2014 Web Wiz Ltd. -