Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6455 Reply

    Paul

    Hi,

    i’m evaluating the PDFPlug SDK for Android. In our App i need a additional layer on top of the reader to make snippets and extract text inside snippet. I’m using one of the PDFDocument.extractText(…) to extract text inside a given bounding box. But the rect coordinates doesn’t fit the document coordinates, so the text I select isn’t the same as extracted. Is it possible to convert the display screen points to the document screen points, so that i will get the right text?

    Thanks.

    #6456 Reply

    Dr. Plug
    Moderator

    Hi Paul,

    Sorry for your inconvenience. We already know the inconvenience of extracting text on the page view. So, we are adding the API method on the page view for extracting text using the Rect on the page view not on the documents. With the new API method, you can extract text easily by passing the Rect on the view. It takes a couple of days to upload the fixed PlugPDF sdk. To notice that it is done, please let me know your email via ‘support@plugpdf.com’
    Thanks a lot.

    Dr.Plug

    • This reply was modified 1 year, 10 months ago by  Dr. Plug.
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Converting display points to document points?
Your information: