Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

center the pages in pdf in PDFLayoutView

More
9 years 5 months ago #11277 by quiklrn
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
More
9 years 5 months ago #11278 by nermeen
Dear quiklrn,

Make sure that you are passing false to the last parameter of vSetLayoutPara, that's called inside PDFSetView
Code:
public void vSetLayoutPara( boolean verts[], boolean horzs[], boolean rtol, boolean pages_align_top ) {}
More
9 years 5 months ago #11279 by quiklrn
Thanks. Worked like a breeze.
Time to create page: 0.406 seconds
Powered by Kunena Forum