-----Original Message-----
From: Ruhong Cai 
Sent: Monday, July 06, 2015 1:31 PM
To: dev@pdfbox.apache.org
Subject: RE: PDFBox 2.0.0 release

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