center the pages in pdf 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: center the pages in pdf in PDFLayoutView

center the pages in pdf in PDFLayoutView 2 years 1 month ago #11277

  • quiklrn
  • quiklrn's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • 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 2 years 1 month ago #11278

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
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 2 years 1 month ago #11279

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