Am 06.07.2015 um 20:31 schrieb Ruhong Cai:
Hi,
The following code could prove that there is a bug in getting the number of the
pages
PDDocument pdf1 = PDDocument.load("C:\\ms12_TIM.pdf");
int count = pdf1.getNumberOfPages();
count return “0” , the file has a page.
Hi,
Could you please upload the PDF somewhere?
Tilman
PS: don't hijack threads. Open a new one. And this rather belongs to the
user list, not to the dev list. (And did it apply to the 2.0 version?)
Thanks!
Ruhong
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org