Page 1 of 1

Read Space from GDViewer

Posted: Tue Dec 04, 2012 12:49 pm
by ksamy
Hi,
I want to get the exact text on selection region from pdf including 'Spaces' between words.
I am using the following command to get the text:

gdviewer.PdfGetPageTextArea()

But the result comew with trim the space.
How can i fix that?

Re: Read Space from GDViewer

Posted: Tue Dec 04, 2012 2:33 pm
by Loïc
Hello,

If the input PDF includes space chars in its content, the latest version of GdPicture.NET will return them.
If there is no space chars, we can not reinvent them and the toolkit adds an unique space separator char to delimit words.

Kind regards,

Loïc

Re: Read Space from GDViewer

Posted: Tue Dec 04, 2012 2:56 pm
by ksamy
Sorry,I can't understand what you said.
We are currently using GDPicture 8.5.
Can i able to get the text exactly what is in selected region on PDF.
For Example :
When i select the following text what would be the out put of command "gdviewer.PdfGetPageTextArea(X,Y,Width,Height)"
"Delivery (Here Multiple Space between Delivery and Order) Order"