If you are having troubles getting the page count make sure you have Root caplitalized correctly.
$numPages=pdf_get_pdi_value($p,"/Root/Pages/Count",$input,0,0);
![]() | pdf_get_pdi_valueDescriptionfloat pdf_get_pdi_value ( resource pdfdoc, string key, int doc, int page, int index )Get the contents of some PDI document parameter with numerical type. ![]()
gregors at rose-hulman dot edu
14-Jun-2003 05:11
If you are having troubles getting the page count make sure you have Root caplitalized correctly.
10-May-2003 05:16
For keys which are not page-related page must be -1 (in PHP: 0).
ian dot kinnear at optus-ebiz dot com
14-Jul-2001 03:56
From the pdflib manual...
| ![]() |