Hi,
How can I automatically read the text of a PDF area without selecting the rectangle with the mouse?
How can I create automatically rectangle into GDViewer?
Fine Thanks
Read automatically text area PDf without mouse selection
Re: Read automatically text area PDf without mouse selection
Hello,
I'm not sure to understand what you mean by "automatically" but if the goal is to extract text from a specific PDF document area without letting the user select it, then you should use the GetPageTextArea method.
It is documented here: https://www.gdpicture.com/guides/gdpicture/web ... tArea.html
You can also programmatically set a rectangle of selection wherever you need to by using the dedicated methods that are SetRectCoordinatesOnDocument, SetRectCoordinatesOnDocumentInches and SetRectCoordinatesOnViewer.
Here is the relevant documentation:
https://www.gdpicture.com/guides/gdpicture/web ... ument.html
https://www.gdpicture.com/guides/gdpicture/web ... nches.html
https://www.gdpicture.com/guides/gdpicture/web ... iewer.html
I'm not sure to understand what you mean by "automatically" but if the goal is to extract text from a specific PDF document area without letting the user select it, then you should use the GetPageTextArea method.
It is documented here: https://www.gdpicture.com/guides/gdpicture/web ... tArea.html
You can also programmatically set a rectangle of selection wherever you need to by using the dedicated methods that are SetRectCoordinatesOnDocument, SetRectCoordinatesOnDocumentInches and SetRectCoordinatesOnViewer.
Here is the relevant documentation:
https://www.gdpicture.com/guides/gdpicture/web ... ument.html
https://www.gdpicture.com/guides/gdpicture/web ... nches.html
https://www.gdpicture.com/guides/gdpicture/web ... iewer.html
Who is online
Users browsing this forum: No registered users and 2 guests