- Posts: 49
- Thank you received: 0
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
Page position on zoom
IP: 192.168.0.71
11 years 5 months ago #7530
by Rossi
Page position on zoom was created by Rossi
Hi,when I zoom the page is not center where I zooming but the page is zoomed in section. The result is that I can't do with zoom an annotation in same section of the page because this is not visible in the same momemnt.
I use the latest beta release.
I use the latest beta release.
IP: 192.168.0.71
11 years 2 months ago #8258
by dilawer
Replied by dilawer on topic Page position on zoom
Hi Team,
I am having the same problem. Can you please let me know what could be the possible solution ?
When I zoom a page, it do not stand still on the same area. It moves to another location after zooming. It happens only when I set paging enable. In PDFView, I set self.pagingEnabled=YES. Otherwise zooming is good but I need zooming and paging both.
Please send a quick response.
Thanks
I am having the same problem. Can you please let me know what could be the possible solution ?
When I zoom a page, it do not stand still on the same area. It moves to another location after zooming. It happens only when I set paging enable. In PDFView, I set self.pagingEnabled=YES. Otherwise zooming is good but I need zooming and paging both.
Please send a quick response.
Thanks
IP: 192.168.0.124
11 years 2 months ago #8263
by emanuele
Replied by emanuele on topic Page position on zoom
Hi,
you can try to disable pagingEnabled in scrollViewDidZoom method, and set it to YES at the end of scrollViewDidEndZooming method if self.zoomScale <= 1 (if entire page is shown).
If the page is not centered when you zoom out, you can also call vGoto.
in scrollViewDidEndZooming you should add something like:
you can try to disable pagingEnabled in scrollViewDidZoom method, and set it to YES at the end of scrollViewDidEndZooming method if self.zoomScale <= 1 (if entire page is shown).
If the page is not centered when you zoom out, you can also call vGoto.
in scrollViewDidEndZooming you should add something like:
Code:
if (self.zoomScale <= 1)
{
self.pagingEnabled = YES;
[self vGoto:m_cur_page];
}
IP: 192.168.0.71
11 years 2 months ago #8271
by dilawer
Replied by dilawer on topic Page position on zoom
Hi,
Thanks for a quick update. I will try this and will respond back. But I am also expecting a fix for this in next reader update. Please confirm reader team will fix this ?
Thanks
Thanks for a quick update. I will try this and will respond back. But I am also expecting a fix for this in next reader update. Please confirm reader team will fix this ?
Thanks
11 years 1 month ago #8446
by wdbutt
Replied by wdbutt on topic Page position on zoom
Hi Emanuele,
I did code as you instruct in you solution, you can see in my code image ( cloudup.com/cHj2prHEQmI ). But I'm facing problem. When I zoom out, I am taken to a different page. Please give proper solution asap.
I did code as you instruct in you solution, you can see in my code image ( cloudup.com/cHj2prHEQmI ). But I'm facing problem. When I zoom out, I am taken to a different page. Please give proper solution asap.
Time to create page: 0.431 seconds