B4A Class PDFDocument API 19+

From API level 19 (KitKat) Android introduced an android.graphics.pdf package that allows sending an image of views to a PDF file.

This is a wrapper for that library written using JavaObject.

The demo app follows (loosely) the documentation example. The project contains the 4 classes, you can compile it to a library if you wish.

Depends On: Reflection JavaObject
 

Attachments

  • PDFDocument.zip
    10.2 KB · Views: 828
Last edited:

stevel05

Expert
Licensed User
Longtime User
I changed it to images, as it uses a canvas object and doesn't send text.
 

westingenieria

Active Member
Licensed User
Longtime User
hi Steve, we can open pdf file and edit with this library and then save it again ?

thansk in advanced!!
 
Top