Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

PDF_get_pdi_value

(PHP 4 >= 4.0.5, PECL)

PDF_get_pdi_value -- Get PDI numerical parameter

Описание

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_value> <PDF_get_pdi_parameter
Last updated: Fri, 26 Jan 2007
 
add a note add a note User Contributed Notes
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.

$numPages=pdf_get_pdi_value($p,"/Root/Pages/Count",$input,0,0);
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...

key: Specifies the name of the parameter
doc: a valid PDF document handle retrieved with PDF_open_pdi()
page: A valid PDF page handle (not page number!). For keys which are not page-related page must be -1

Example:

$numPages=pdf_get_pdi_value($p,"/root/Pages/Count",$input,0,0);

PDF_get_value> <PDF_get_pdi_parameter
Last updated: Fri, 26 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571