iOS Question PDF page to Image on Webview

db0070

Active Member
Licensed User
Longtime User
I am using the DrawPDF library and I draw on the canvas a page of pdf: -

B4X:
    cvs.Initialize(ScrollView1.Panel)
    cvs.DrawPDF(pdf, currentPage,cvs.TargetRect)
    cvs.Refresh

I want zoom feature, so how can I capture this page and draw it on a webview?
 

db0070

Active Member
Licensed User
Longtime User
It will be easier to show the PDF file directly.
This is what I am using, and the problem is there is no zoom available - hence I was thinking of grabbing the image shown by DrawPDF and placing it in a webview, but I just don't know how to do that.
 
Upvote 0

db0070

Active Member
Licensed User
Longtime User
1. If Document1.pdf has multiple pages, any way to copy one particular page to File.DirDocuments?
2. Why use File.DirDocuments?
 
Upvote 0
Top