Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Margin in every page

More
IP: 36.72.215.174 6 years 6 months ago #14520 by ntyazid
Margin in every page was created by ntyazid
I am sorry Mr.,
How to set margin in every page?
like reader in google play book.
More
IP: 212.97.62.176 6 years 6 months ago - 6 years 6 months ago #14522 by luca.f
Replied by luca.f on topic Margin in every page
Dear user,
this should work only in the "single page" modes:
you can achieve this by varying the value of m_page_gap, inside PDFLayout.java

You can also use two set methods, to do it programmatically:
Code:
PDFView.vSetPageGap
or
Code:
PDFLayout.vSetPageGap

If you want to change the color of the background below, just edit the value of Global.readerViewBgColor
Last edit: 6 years 6 months ago by luca.f.
More
IP: 36.72.215.174 6 years 6 months ago #14523 by ntyazid
Replied by ntyazid on topic Margin in every page
Thanks Mr, I will try it.
Time to create page: 0.394 seconds
Powered by Kunena Forum