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

How to add margin/padding between pages

More
9 years 11 months ago #11232 by moontech
Hello,
I want to add more margin between all pages in PDF viewer.
How i can achieve this functionality ?
More
9 years 11 months ago #11233 by nermeen
You can achieve this by setting the page gap.
Code:
PDFView.vSetPageGap
or
Code:
PDFLayout.vSetPageGap
More
9 years 11 months ago #11280 by moontech
You can achieve this by setting the page gap.
PDFView.vSetPageGap
or
PDFLayout.vSetPageGap


There method setGap around pages.
We need to set Get for Top and bottom gaps so we can differentiate pages.

How we can achieve this ?
More
9 years 11 months ago #11286 by moontech
any reply for me ?
More
9 years 11 months ago #11288 by nermeen
The page gap is handled based on the view mode, i.e. in case of vertical mode the gap will be used vertically between pages (top and bottom).
in case of horizontal mode the gap will be used horizontally between pages (left and right).

So if you need something different than that, you need to change the behavior of the method vLayout of the view mode you are using.
Time to create page: 0.412 seconds
Powered by Kunena Forum