Hi, > Am 06.07.2015 um 20:31 schrieb Ruhong Cai <ruhong....@smartbear.com>: > > 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");
could you upload the file to a public location to take a look? BR Maruan > > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org