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.

Thanks!


Ruhong
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to