Hi,
I was tring to write some code in order to select text from pdf file (word like), copy and paste it somewhere, but it seems realy hard. Once you convert a file to a pdf OCR it's not possible to get information about the recognized text. Any clue is really appreciated....
Thanks in advance
Sly
PDF Select Text
Re: PDF Select Text
Hi Sly,
GdPicture.NET 7 will come with a new method called PdfReaderGetPageTextWithCoords. This version will be released on September 2010.
Here the definition:
Kind regards,
Loïc
GdPicture.NET 7 will come with a new method called PdfReaderGetPageTextWithCoords. This version will be released on September 2010.
Here the definition:
It should allows you to do what you want. In current version, we have no solution for your need.Returns the text of the current page of a PDF including coordinates of the 4 points of each word. The return string will be formatted like this:
TopLeftX + [FieldSeparator] + TopLeftY + [FieldSeparator] +
TopRightX + [FieldSeparator] + TopRightY + [FieldSeparator] +
BottomRightX + [FieldSeparator] + BottomRightY + [FieldSeparator] +
BottomLeftX + [FieldSeparator] + BottomLeftY + [FieldSeparator] +
Word + CRLF
Kind regards,
Loïc
Who is online
Users browsing this forum: Bing [Bot] and 1 guest