Read Space from GDViewer

Example requests & Code samples for GdPicture Toolkits.
Post Reply
ksamy
Posts: 15
Joined: Fri Aug 31, 2012 9:34 am

Read Space from GDViewer

Post by ksamy » Tue Dec 04, 2012 12:49 pm

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?

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Read Space from GDViewer

Post by Loïc » Tue Dec 04, 2012 2:33 pm

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

ksamy
Posts: 15
Joined: Fri Aug 31, 2012 9:34 am

Re: Read Space from GDViewer

Post by ksamy » Tue Dec 04, 2012 2:56 pm

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"

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests