- Posts: 80
- 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 Android development and PDF
How to add margin/padding between pages
9 years 11 months ago #11232
by moontech
How to add margin/padding between pages was created by moontech
Hello,
I want to add more margin between all pages in PDF viewer.
How i can achieve this functionality ?
I want to add more margin between all pages in PDF viewer.
How i can achieve this functionality ?
9 years 11 months ago #11233
by nermeen
Replied by nermeen on topic How to add margin/padding between pages
You can achieve this by setting the page gap.
or
Code:
PDFView.vSetPageGap
Code:
PDFLayout.vSetPageGap
9 years 11 months ago #11280
by moontech
Replied by moontech on topic How to add margin/padding between pages
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 ?
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 ?
9 years 11 months ago #11286
by moontech
Replied by moontech on topic How to add margin/padding between pages
any reply for me ?
9 years 11 months ago #11288
by nermeen
Replied by nermeen on topic How to add margin/padding between pages
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.
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