logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Jose Ricardo Garcia  
#1 Posted : Monday, February 12, 2018 8:11:00 PM(UTC)
Jose Ricardo Garcia

Rank: Newbie

Groups: Registered
Joined: 2/12/2018(UTC)
Posts: 1
Mexico
Location: Puebla

Good day, My Name is Richard

I have to position myself at a certain height of the pdf document to read, I can not get that effect. This is my code that I use. I need to locate my vertical scroll at a certain height, in my example I try to find myself in the middle of a single page.

Sample Code
Thank you

Edited by moderator Monday, February 12, 2018 9:29:37 PM(UTC)  | Reason: Not specified

Paul Rayman  
#2 Posted : Monday, February 12, 2018 9:32:46 PM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,011

Thanks: 5 times
Was thanked: 121 time(s) in 118 post(s)
Try to use pdfViewer1.ScrollToPoint method
https://pdfium.patagames...9a-8f10-d5f76cb8aafb.htm

Also you may need to call ClientToPage
https://pdfium.patagames...c9-ed83-a4d9de8a35f8.htm

and PointInPage methods
https://pdfium.patagames...3b-4a03-cb344b386f10.htm
Users browsing this topic
Similar Topics
Hide vertical scrollbar (Bug Report & Technical Support)
by cbreemer 5/20/2021 9:20:59 AM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.