- Posts: 4
- 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
Zoom action causes a loss of pagination
9 years 10 months ago #10838
by jacpia
Zoom action causes a loss of pagination was created by jacpia
Hi to all,
I've found the following bug:
Open a pdf file with pagination enabled; When user zoom on current page pagination is lost.
Do you know a fix for this bug?
Thanks for the attention.
I've found the following bug:
Open a pdf file with pagination enabled; When user zoom on current page pagination is lost.
Do you know a fix for this bug?
Thanks for the attention.
9 years 10 months ago #10839
by emanuele
Replied by emanuele on topic Zoom action causes a loss of pagination
Hi,
the default behavior is to allow all pdf pages scrolling when zoomed, also with paging enabled.
when you zoom out to minimum zoom level, the paging is enabled.
If you want to block the page change when a page is zoomed (with paging enabled), you should take a look at this Knowledge Base article
the default behavior is to allow all pdf pages scrolling when zoomed, also with paging enabled.
when you zoom out to minimum zoom level, the paging is enabled.
If you want to block the page change when a page is zoomed (with paging enabled), you should take a look at this Knowledge Base article
9 years 6 months ago - 9 years 6 months ago #11344
by jacpia
Replied by jacpia on topic Zoom action causes a loss of pagination
Ok, let's suppose i want to reach this goal:
- Disable pagination when zoom in an scroll on current page
- Enable again pagination scrolling when change page to another from current
My desire is to reach Android library user experience, how can i do it ?
- Disable pagination when zoom in an scroll on current page
- Enable again pagination scrolling when change page to another from current
My desire is to reach Android library user experience, how can i do it ?
Last edit: 9 years 6 months ago by jacpia. Reason: Grammatical error
9 years 6 months ago #11352
by emanuele
Replied by emanuele on topic Zoom action causes a loss of pagination
Hi,
I think you are trying to replicate the view pager mode of the Android demo project.
The view pager is a particular implementation for the Android version that manage each page separately but is not available on iOS version.
I think you can replicate something similar by setting the page zoom level to 1 when you change the page (onPageChange method), but the result could not be smooth as the Android version.
I think you are trying to replicate the view pager mode of the Android demo project.
The view pager is a particular implementation for the Android version that manage each page separately but is not available on iOS version.
I think you can replicate something similar by setting the page zoom level to 1 when you change the page (onPageChange method), but the result could not be smooth as the Android version.
9 years 6 months ago #11386
by emanuele
Replied by emanuele on topic Zoom action causes a loss of pagination
Hi,
demo project contains a pagination implementation based on scrollView (pagingEnabled).
You can enable the scrollView paging by setting g_paging_enabled flag to true at the end of APP_Init method, in PDFVGlobal class.
demo project contains a pagination implementation based on scrollView (pagingEnabled).
You can enable the scrollView paging by setting g_paging_enabled flag to true at the end of APP_Init method, in PDFVGlobal class.
Time to create page: 0.513 seconds