Rank: Newbie
Groups: Registered
Joined: 8/2/2017(UTC) Posts: 2  Location: Reading
|
Is there a way that I can allow the user to zoom to a region on the PDF by selecting an area on the PDF Viewer?
Thanks in advance
Simon
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
I think so.
1. You can calculate the needed zoom factor, based on a selected area and current viewport size 2. Set this factor to the Zoom property of the PdfViewer ( To take effect the SizeMode property must be setted to Zoom) 3. Call ScrollToPoint(left, top) method, where left and top it is a left corner of selected area.
|
|
|
|
|
|
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.
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