SyntaxFix
Write A Post
Hire A Developer
Questions
I have used pdflib for this.
p = new pdflib(); /* Open the input PDF */ indoc = p.open_pdi_document("myTestFile.pdf", ""); pageCount = (int) p.pcos_get_number(indoc, "length:pages");