B4J Question JPDFJet Modify-Open existing pdf...

micro

Well-Known Member
Licensed User
Longtime User
Hi to all
It's possible starting from an existing pdf and modify it?
Why i have this error?
Code:
B4X:
    Dim PDF As PDFjetPDF
    PDF.Initialize3
    PDF.SetAuthor("xxx")
    PDF.SetSubject("xxx")
    PDF.SetTitle("xxx")
    Dim in As InputStream = File.OpenInput(File.DirApp, "my.pdf")
    PDF.Read(in) ' <<< Error
    in.Close
java.lang.NoSuchMethodError: uk.co.martinpearman.b4j.pdfjet.B4APDF.read(Ljava/io/InputStream;)Ljava/util/Map;
.....
.....

Thanks

P.S.
for modify I mean adding text and images
 
Last edited:
Top