Hi Getting the below error when I execute the class. Null Point Excepton --> java.lang.NullPointerException: Cannot invoke "org.apache.pdfbox.pdmodel.common.PDRectangle.getHeight()" because the return value of "org.apache.pdfbox.pdmodel.PDPage.getTrimBox()" is null int pageHeight = (int) (firstPage.getTrimBox()).getHeight(); any idea?
Thank you so much! This is what I was looking for more than 1 week. Thank you
thank you so much
pretty well environment,like a forest closed to a lake
how to do text wrapping and cell wrapping?
set playback speed to 1.5
Hello, can you please share the source code you described in the video?
Hi Getting the below error when I execute the class.
Null Point Excepton --> java.lang.NullPointerException: Cannot invoke "org.apache.pdfbox.pdmodel.common.PDRectangle.getHeight()" because the return value of "org.apache.pdfbox.pdmodel.PDPage.getTrimBox()" is null
int pageHeight = (int) (firstPage.getTrimBox()).getHeight();
any idea?
Same error
How fix these error?
use getMediaBox() method
you must explain this video ..
you were just copying and pasting the code from any web site
please change ur approach