Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

How to set page gap in PDFLayoutView 6 years 3 days ago #13724

  • nathan.wei
  • nathan.wei's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 6 years 3 days ago #13729

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
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