I'm using PDFViewHorz to display the pdf when in portrait view.
I need to fit the pdf to height and because the pdf view height is not the the full screen height I can't use PDFViewVert or so.
It's a single site pdf and i want the page to be centered horizontally.
I tried to set Global.def_view = 3, tried to set the m_view.vSetPos(pos, w/2, h/2); but nothing works.
the pdf is centered vertical but I need both. vertical and horizontal.
Whatever I tried the pdf page stays at the left screen border.
Because of the project deadline I really would need a quick answer if anyone knows how to get this work!
I know that is kind of late but I just figured out how to center the page, I'm showing only a single page and it fits the page View height/width. I can share my code, just let me know.