Page no error

Hi Team,

The attached document contains a page, I need to get the page count of the document I’ve followed the below code, but did not get any response.

Document doc= new Document("PageNoError.docx");
int pgCount=doc.getPageCount();
System.out.println("pgCount: "+pgCount);
System.exit(0);

Document: PageNoError.docx (39.4 KB)

Regards,
Mahi

@Mahi39
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-26954

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.