B4J Question Convert png to pdf

jesuslizonsoluciones

Member
Licensed User
Longtime User
hello everyone


I am programming in b4j and I am using pdfjet and I get this error.



java.lang.NoSuchMethodError: 'void com.pdfjet.Image.setPosition(float, float)



I have used some sample projects and I keep getting the same error.



The b4j version is 10
 

Johan Schoeman

Expert
Licensed User
Longtime User
hello everyone


I am programming in b4j and I am using pdfjet and I get this error.



java.lang.NoSuchMethodError: 'void com.pdfjet.Image.setPosition(float, float)



I have used some sample projects and I keep getting the same error.



The b4j version is 10
Maybe it wants a Double or an Int and not a Float....
 
Upvote 0

drgottjr

Expert
Licensed User
Longtime User
the version i have (pdfjet-5.75) is overloaded to take either float or double. we don't know how op is using the library. i'm guessing javaobject, so it's probably incorrectly initialized...
 
Upvote 0
Top