How to draw PDF pages horizontally in android using MuPDF library

I created mupdf from the source by following the steps http://www.mupdf.com/docs/how-to-build-mupdf-for-android . I integrated it into my application and it works fine. But there is a vertical scroll on this page, but I want to scroll horizontally. Please help me if this is possible or not. And if possible, give me a hint or any other solution Thank you.

+1
source share
3 answers

You can use MuPDFPageView instead of MuPDFReaderView and control the horizontal scroll manually.

+1
source

in ReaderView.class from

android mupdf library

you must HORIZONTAL_SCROLLING="false"

+1
source

The good news is that I created a new repo implementation method called

swipeHorizontal(boolean isHorizontal) before creating Nuget

https://github.com/minaairsupport/MuPDF_Xamarin

+1
source

Source: https://habr.com/ru/post/1234480/


All Articles