Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

Issue with GOTO a specific page functionality

More
IP: 192.168.0.70 12 years 3 months ago #4769 by rohitks
Case:
- Open a PDF and it's at page number 1 (PDF having large number of pages e.g. 200)
- Goto from page 1 to page 199.
- PDF viewer shows glimpse of all the pages while traversing from 1 to 199.

Expected behaviour would be PDF should jump to the specific page . i.e 199.
More
IP: 192.168.0.151 12 years 3 months ago #4773 by emanuele
Hi,

in demo version is correct: that animation only center the page, it doesn't show all pages.

to remove that animation you have to edit vGoto method, in PDFView class: remove [m_view vGetDeltaToCenterPage:pos.pageno :&m_swipe_dx :&m_swipe_dy];

With this change you have to center the page by yourself ([m_view vSetPos:&pos :0 :0]; set also the page position, in this case is 0, 0)
Time to create page: 0.379 seconds
Powered by Kunena Forum