Rank: Newbie
Groups: Registered
Joined: 5/22/2017(UTC) Posts: 3
Thanks: 1 times
|
Hi, When searching a PDf document using the pdfToolStripSearch component sometime the highlighted results is too close to the top of the page. Is there a way to scroll the page down a few pixels to make the highlight more visible? wsdl.png (334kb) downloaded 29 time(s).
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
Hi, I see no other way to do this than to change the source code. The source code is available here: https://github.com/Patag...rs/PdfToolStripSearch.csYou need modify ScrollToRecord method Replace a call of PdfViewer.ScrollToChar(ft.CharIndex); with a call to PdfViewer.ScrollToPoint(...); Edited by user Friday, October 11, 2019 4:03:36 AM(UTC)
| Reason: Not specified
|
 1 user thanked Paul Rayman for this useful post.
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
We will change this behavior in the next release.
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
|
|
|
|
|
|
Forum Jump
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close