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_valueОписаниеfloat PDF_get_pdi_value ( resource p, string key, int doc, int page, int reserved )Gets the contents of a PDI document parameter with numerical type. PDF_get_pdi_value
gregors at rose-hulman dot edu
13-Jun-2003 02:11
If you are having troubles getting the page count make sure you have Root caplitalized correctly.
09-May-2003 02:16
For keys which are not page-related page must be -1 (in PHP: 0).
ian dot kinnear at optus-ebiz dot com
13-Jul-2001 12:56
From the pdflib manual... |