Highlight and scroll to a text in a pdf file
Highlight and scroll to a text in a pdf file
We would like to search a text in a page and automatically scroll to the text. Is there a way to do it with through GdViewer for PDF Files? We know that we have the GdViewer1.PdfSearchText(“Text”, 1, FALSE); function and not sure it supports the automatically scrolling functionality to the text we are searching.
Re: Highlight and scroll to a text in a pdf file
Did you ever get a response to your question? If so what was the solution?
Greatly appreciated.
Greatly appreciated.
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: Highlight and scroll to a text in a pdf file
Hi,
No it does not. That being said, there exists an overload of the function that returns the coordinates of the text on the document.
You can use those coordinates, along with the Vertical and Horizontal Scroll Min and Max values, as well as the document width and height to create your own function to do that.
If you would like to see it as an option in the function, you can ask for it as feature request here:
viewforum.php?f=28
Best,
Sami
No it does not. That being said, there exists an overload of the function that returns the coordinates of the text on the document.
You can use those coordinates, along with the Vertical and Horizontal Scroll Min and Max values, as well as the document width and height to create your own function to do that.
If you would like to see it as an option in the function, you can ask for it as feature request here:
viewforum.php?f=28
Best,
Sami
Who is online
Users browsing this forum: No registered users and 1 guest