Hi All,
I found this code
I tried and everything works fine.
However, I would like to add the "goToPage" method to scroll the pdf to a certain page as per the documentation
I tried to add:
But return the follow error:
it's definitely my mistake.
Having no experience with Objective-C, I wanted to know if any of you who use the same can give me a hand.
Thank you
Marco
I found this code
written by @Semen MatusovskiyPDF support
Hi, Is there anything at all similar to this library https://www.b4x.com/android/forum/threads/pdfium-pdfview2.102756/#content for B4i? I know I can open PDFs using a WebView, and that I can build a viewer of sorts using the PDFDocument object. However, using the WebView I can't get lateral...www.b4x.com
I tried and everything works fine.
However, I would like to add the "goToPage" method to scroll the pdf to a certain page as per the documentation
I tried to add:
B4X:
Private Sub goToPage(page_go As Int)
Dim nativeObjectMe As NativeObject
nativeObjectMe = Me
nativeObjectMe.RunMethod("goToPage", Array(page_go))
End Sub
But return the follow error:
Method not found: goToPage, target: <b4i_main: (null)>
it's definitely my mistake.
Having no experience with Objective-C, I wanted to know if any of you who use the same can give me a hand.
Thank you
Marco