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

TOPIC:

center the pages in pdf in PDFLayoutView 7 years 6 months ago #11277

  • quiklrn
  • quiklrn's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
I am using PDFLayoutView and setting PDFSetView(3);
The pages are alligned to the top of the view and not getting center aligned

Please let me what I need to change to center align the page in View
The topic has been locked.

center the pages in pdf in PDFLayoutView 7 years 6 months ago #11278

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Dear quiklrn,

Make sure that you are passing false to the last parameter of vSetLayoutPara, that's called inside PDFSetView
public void vSetLayoutPara( boolean verts[], boolean horzs[], boolean rtol, boolean pages_align_top ) {}
The following user(s) said Thank You: quiklrn
The topic has been locked.

center the pages in pdf in PDFLayoutView 7 years 6 months ago #11279

  • quiklrn
  • quiklrn's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Thanks. Worked like a breeze.
The topic has been locked.
  • Page:
  • 1
Powered by Kunena Forum