P Phirum New Member Jul 14, 2018 #1 How can i open pdf to specific page in B4J ? (For example, i got a pdf of 100 pages . So how can i open to page 2 or sth?
How can i open pdf to specific page in B4J ? (For example, i got a pdf of 100 pages . So how can i open to page 2 or sth?
Erel B4X founder Staff member Licensed User Longtime User Jul 15, 2018 #2 How are you showing the PDF document? Upvote 0
P Phirum New Member Jul 15, 2018 #3 fx.ShowExternalDocument(File.GetUri(File.DirApp, "FileName.pdf")) but FileName.pdf contain more than one page so i want to go to page 2 for example. How can i do that with B4J? Thanks in advance. Upvote 0
fx.ShowExternalDocument(File.GetUri(File.DirApp, "FileName.pdf")) but FileName.pdf contain more than one page so i want to go to page 2 for example. How can i do that with B4J? Thanks in advance.
Erel B4X founder Staff member Licensed User Longtime User Jul 15, 2018 #4 You don't have any control over the program that will handle the document when you use ShowExternalDocument. You can't even know whether it was opened successfully or not. Check this library: https://www.b4x.com/android/forum/threads/pdfjet-rewrapped.89973/#content Upvote 0
You don't have any control over the program that will handle the document when you use ShowExternalDocument. You can't even know whether it was opened successfully or not. Check this library: https://www.b4x.com/android/forum/threads/pdfjet-rewrapped.89973/#content