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

Single Page Mode

More
10 years 4 weeks ago #11044 by ssaguado
Single Page Mode was created by ssaguado
Hello,

How can I use single page mode? By default, Vertical mode is used and there is no button to switch between modes.
More
10 years 4 weeks ago #11045 by emanuele
Replied by emanuele on topic Single Page Mode
Hi,

in demo project you can set the render mode in Settings tab, selecting Default View Mode.
To force a specific viewMode, you can set g_def_view to a specific value in vOpen method of PDFView.m:
0: vertical
1: horizontal
2: right continuous
3: double page left
4: double page right
5: reflow
More
10 years 4 weeks ago #11046 by ssaguado
Replied by ssaguado on topic Single Page Mode
Tank you.

Using that option we can change the page horizontally but it's a continuous scroll. We need to scroll page by page, like Android. Whe have tried to use " g_paging_enabled = true" but it didn't works as expected. Sometimes the scroll stops between two pages. Maybe because the page witdh doesn't macth de screen width. Is there any way to scroll page by page in iOS?
More
10 years 4 weeks ago #11047 by emanuele
Replied by emanuele on topic Single Page Mode
Hi,

can you share the pdf used for testing?
More
10 years 4 weeks ago #11050 by ssaguado
Replied by ssaguado on topic Single Page Mode
PDF for testing:

we.tl/36znIHimDJ
More
10 years 4 weeks ago #11062 by emanuele
Replied by emanuele on topic Single Page Mode
Hi,

I checked your file and everything seems to work correctly.
Which mode are you using?
I suggest to use mode 3, so you can set g_paging_enabled = true to enable paging.
By default mode 3 shows double page, but in vOpen method (PDFView.m) you can follow comments to toggle double page/single page.
Time to create page: 0.431 seconds
Powered by Kunena Forum