I am having a problem reading pdf files using iText in java. I can only read one page, but when I go to the second page, it gives an exception. I want to read all the pages of any PDF file.
PdfTextExtractor parser =new PdfTextExtractor(new PdfReader("C:/Text.pdf")); parser.getTextFromPage(3);
I use these lines, and the second line is an exception.
java itext
Sunil
source share