How to set page gap in PDFLayoutView - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: How to set page gap in PDFLayoutView

How to set page gap in PDFLayoutView 1 week 2 days ago #13724

  • nathan.wei
  • nathan.wei's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Previously we have PDFView.vOpen(Document doc, int page_gap, int back_color, PDFView.PDFViewListener listener) to set the page gap, but now it's deprecated.

Is there any method I can use to increase the size between pages? in PDFLayoutView?

And also where to set the background color?

Please Log in or Create an account to join the conversation.

Last Edit: by nathan.wei.

How to set page gap in PDFLayoutView 1 week 2 days ago #13729

  • Davide
  • Davide's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 778
  • Karma: 16
  • Thank you received: 61
Hi,
you can set the page gap by calling
PDFLayout.vSetPageGap(int gap)
and the background color :
PDFLayout.vSetBackColor(int color)

Please Log in or Create an account to join the conversation.

Last Edit: by Davide.
  • Page:
  • 1
Powered by Kunena Forum