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

TOPIC:

PDF page alignment 9 years 7 months ago #7204

  • Semenovich
  • Semenovich's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 13
  • Thank you received: 0
I have only one page in my PDF document. And I use PDFViewVert for displaying. The page is displaying in the top of canvas. But I need to display it at the center if page height is less than screen height. How can I do it?
I was trying to use page.vSetPageAlign(1) or change Global.dev_view but it does not help.

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

Last edit: by carpinteyroyku.

PDF page alignment 9 years 7 months ago #7209

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
set Global.def_view = 3 in Global.default_config() if only 1 page.
The following user(s) said Thank You: carpinteyroyku

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

  • Page:
  • 1
Powered by Kunena Forum